Title: [140066] trunk/Source/WebCore
- Revision
- 140066
- Author
- simon.fra...@apple.com
- Date
- 2013-01-17 16:10:31 -0800 (Thu, 17 Jan 2013)
Log Message
Allow PaintInfo to carry all PaintBehavior flags
https://bugs.webkit.org/show_bug.cgi?id=106980
Reviewed by Beth Dakin.
In r139908 I missed one instance of the PaintInfo constructor that should take PaintBehaviorNormal
instead of "false".
* rendering/RenderScrollbarPart.cpp:
(WebCore::RenderScrollbarPart::paintIntoRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (140065 => 140066)
--- trunk/Source/WebCore/ChangeLog 2013-01-18 00:08:58 UTC (rev 140065)
+++ trunk/Source/WebCore/ChangeLog 2013-01-18 00:10:31 UTC (rev 140066)
@@ -2448,6 +2448,19 @@
Allow PaintInfo to carry all PaintBehavior flags
https://bugs.webkit.org/show_bug.cgi?id=106980
+ Reviewed by Beth Dakin.
+
+ In r139908 I missed one instance of the PaintInfo constructor that should take PaintBehaviorNormal
+ instead of "false".
+
+ * rendering/RenderScrollbarPart.cpp:
+ (WebCore::RenderScrollbarPart::paintIntoRect):
+
+2013-01-16 Simon Fraser <simon.fra...@apple.com>
+
+ Allow PaintInfo to carry all PaintBehavior flags
+ https://bugs.webkit.org/show_bug.cgi?id=106980
+
Reviewed by Sam Weinig.
PaintInfo has a single boolean for forceBlackText, but I'll be adding additional
Modified: trunk/Source/WebCore/rendering/RenderScrollbarPart.cpp (140065 => 140066)
--- trunk/Source/WebCore/rendering/RenderScrollbarPart.cpp 2013-01-18 00:08:58 UTC (rev 140065)
+++ trunk/Source/WebCore/rendering/RenderScrollbarPart.cpp 2013-01-18 00:10:31 UTC (rev 140066)
@@ -177,7 +177,7 @@
return;
// Now do the paint.
- PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, false, 0, 0, 0);
+ PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal);
paint(paintInfo, paintOffset);
paintInfo.phase = PaintPhaseChildBlockBackgrounds;
paint(paintInfo, paintOffset);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes