Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1404)

Unified Diff: Source/core/paint/ScrollableAreaPainter.cpp

Issue 1316163002: Make the LayoutRect->FloatRect constructor explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/paint/ScrollableAreaPainter.cpp
diff --git a/Source/core/paint/ScrollableAreaPainter.cpp b/Source/core/paint/ScrollableAreaPainter.cpp
index bea70b919cc8aadb1b2dc7f921b1742ceb601c7b..6d90adb860c2250daea1fecf661344767b3258d4 100644
--- a/Source/core/paint/ScrollableAreaPainter.cpp
+++ b/Source/core/paint/ScrollableAreaPainter.cpp
@@ -40,7 +40,7 @@ void ScrollableAreaPainter::paintResizer(GraphicsContext* context, const IntPoin
if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::Resizer))
return;
- LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, absRect);
+ LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, LayoutRect(absRect));
jbroman 2015/08/26 21:45:09 ditto
chrishtr 2015/08/26 22:32:21 Done.
drawPlatformResizerImage(context, absRect);
@@ -195,7 +195,7 @@ void ScrollableAreaPainter::paintScrollCorner(GraphicsContext* context, const In
if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner))
return;
- LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, absRect);
+ LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, LayoutRect(absRect));
jbroman 2015/08/26 21:45:09 ditto
chrishtr 2015/08/26 22:32:21 Done.
context->fillRect(absRect, Color::white);
}

Powered by Google App Engine
This is Rietveld 408576698