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

Unified Diff: third_party/WebKit/Source/core/paint/SVGShapePainter.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/SVGShapePainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.h b/third_party/WebKit/Source/core/paint/SVGShapePainter.h
index f87e1a30f6b1395972bdc38258b01d9f302f2e1d..39bc780c36ecb8b50b9a52d584253ecbf733e289 100644
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.h
@@ -27,8 +27,8 @@ public:
void paint(const PaintInfo&);
private:
- void fillShape(GraphicsContext*, const SkPaint&, SkPath::FillType);
- void strokeShape(GraphicsContext*, const SkPaint&);
+ void fillShape(GraphicsContext&, const SkPaint&, SkPath::FillType);
+ void strokeShape(GraphicsContext&, const SkPaint&);
void paintMarkers(const PaintInfo&, const FloatRect& boundingBox);
void paintMarker(const PaintInfo&, LayoutSVGResourceMarker&, const MarkerPosition&, float);
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGRootPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGShapePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698