Title: [158364] trunk/Source/WebCore
Revision
158364
Author
[email protected]
Date
2013-10-31 10:17:37 -0700 (Thu, 31 Oct 2013)

Log Message

Paint the input tag of range type on WinCE port.
https://bugs.webkit.org/show_bug.cgi?id=123199

Patch by Zhuang Zhigang <[email protected]> on 2013-10-31
Reviewed by Brent Fulgham.

* rendering/RenderThemeWinCE.cpp:
(WebCore::RenderThemeWinCE::paintSliderTrack):
(WebCore::RenderThemeWinCE::paintSliderThumb):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (158363 => 158364)


--- trunk/Source/WebCore/ChangeLog	2013-10-31 17:13:49 UTC (rev 158363)
+++ trunk/Source/WebCore/ChangeLog	2013-10-31 17:17:37 UTC (rev 158364)
@@ -1,3 +1,14 @@
+2013-10-31  Zhuang Zhigang  <[email protected]>
+
+        Paint the input tag of range type on WinCE port.
+        https://bugs.webkit.org/show_bug.cgi?id=123199
+
+        Reviewed by Brent Fulgham.        
+
+        * rendering/RenderThemeWinCE.cpp:
+        (WebCore::RenderThemeWinCE::paintSliderTrack):
+        (WebCore::RenderThemeWinCE::paintSliderThumb):
+
 2013-10-31  Alexey Proskuryakov  <[email protected]>
 
         Add a crypto algorithm abstraction

Modified: trunk/Source/WebCore/rendering/RenderThemeWinCE.cpp (158363 => 158364)


--- trunk/Source/WebCore/rendering/RenderThemeWinCE.cpp	2013-10-31 17:13:49 UTC (rev 158363)
+++ trunk/Source/WebCore/rendering/RenderThemeWinCE.cpp	2013-10-31 17:17:37 UTC (rev 158364)
@@ -509,7 +509,7 @@
     i.context->setStrokeColor(Color::black, ColorSpaceDeviceRGB);
     i.context->drawLine(left, IntPoint(r.maxX() - 2, left.y()));
     i.context->restore();
-    return rc;
+    return false;
 }
 
 bool RenderThemeWinCE::paintSliderThumb(RenderObject* o, const PaintInfo& i, const IntRect& r)
@@ -518,6 +518,7 @@
     i.context->save();
     i.context->setStrokeColor(Color::black, ColorSpaceDeviceRGB);
     i.context->setFillColor(Color::black, ColorSpaceDeviceRGB);
+    i.context->fillRect(r);
 #if ENABLE(VIDEO)
     HTMLMediaElement* mediaElement = mediaElementParent(o->node());
     if (mediaElement) {
@@ -529,7 +530,7 @@
     }
 #endif
     i.context->restore();
-    return rc;
+    return false;
 }
 
 void RenderThemeWinCE::adjustSearchFieldStyle(StyleResolver*, RenderStyle* style, Element*) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to