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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.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/PaintLayerReflectionInfo.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp b/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
index 0ff42bb801bb9af3ff54bd02a5653441ee77a216..49c3823c136f11134f788fa5b051dc9ead717695 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.cpp
@@ -129,7 +129,7 @@ void PaintLayerReflectionInfo::updateAfterStyleChange(const ComputedStyle* oldSt
m_reflection->setStyle(newStyle.release());
}
-void PaintLayerReflectionInfo::paint(GraphicsContext* context, const PaintLayerPaintingInfo& paintingInfo, PaintLayerFlags flags)
+void PaintLayerReflectionInfo::paint(GraphicsContext& context, const PaintLayerPaintingInfo& paintingInfo, PaintLayerFlags flags)
{
if (m_isPaintingInsideReflection)
return;
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerReflectionInfo.h ('k') | third_party/WebKit/Source/core/paint/PartPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698