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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.cpp

Issue 1512803004: Use refs for GraphicsContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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: third_party/WebKit/Source/core/paint/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index 9ae45d27bfe207d37a05b4702d66f95103f3bb02..b55fcaef716dfc818ccb548d361c0888ee9b34b3 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -125,10 +125,10 @@ void FramePainter::paintContents(GraphicsContext& context, const GlobalPaintFlag
float deviceScaleFactor = blink::deviceScaleFactor(rootLayer->layoutObject()->frame());
context.setDeviceScaleFactor(deviceScaleFactor);
- layerPainter.paint(&context, LayoutRect(rect), localPaintFlags, layoutObject);
+ layerPainter.paint(context, LayoutRect(rect), localPaintFlags, layoutObject);
if (rootLayer->containsDirtyOverlayScrollbars())
- layerPainter.paintOverlayScrollbars(&context, LayoutRect(rect), localPaintFlags, layoutObject);
+ layerPainter.paintOverlayScrollbars(context, LayoutRect(rect), localPaintFlags, layoutObject);
frameView().setIsPainting(false);
@@ -143,7 +143,7 @@ void FramePainter::paintContents(GraphicsContext& context, const GlobalPaintFlag
s_inPaintContents = false;
}
- InspectorInstrumentation::didPaint(layoutView, 0, &context, LayoutRect(rect));
+ InspectorInstrumentation::didPaint(layoutView, 0, context, LayoutRect(rect));
}
void FramePainter::paintScrollbars(GraphicsContext& context, const IntRect& rect)
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/FrameSetPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698