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

Unified Diff: third_party/WebKit/Source/core/paint/SVGMaskPainter.h

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/SVGMaskPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGMaskPainter.h b/third_party/WebKit/Source/core/paint/SVGMaskPainter.h
index f0c386d6a5234431b0055042395405f1eae44013..e938534c82701e16f80b0c5403181f1a8c2d744f 100644
--- a/third_party/WebKit/Source/core/paint/SVGMaskPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGMaskPainter.h
@@ -19,11 +19,11 @@ class SVGMaskPainter {
public:
SVGMaskPainter(LayoutSVGResourceMasker& mask) : m_mask(mask) { }
- bool prepareEffect(const LayoutObject&, GraphicsContext*);
- void finishEffect(const LayoutObject&, GraphicsContext*);
+ bool prepareEffect(const LayoutObject&, GraphicsContext&);
+ void finishEffect(const LayoutObject&, GraphicsContext&);
private:
- void drawMaskForLayoutObject(GraphicsContext*, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect);
+ void drawMaskForLayoutObject(GraphicsContext&, const LayoutObject&, const FloatRect& targetBoundingBox, const FloatRect& targetPaintInvalidationRect);
LayoutSVGResourceMasker& m_mask;
};

Powered by Google App Engine
This is Rietveld 408576698