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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 94efa82c67b6cd9a99baa6f739834f4797a4cf05..a4a0f64220f6404787d50363b127b035c69274b8 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -110,7 +110,7 @@ public:
// Used for rendering
void didDraw(const FloatRect&);
- void paint(GraphicsContext*, const LayoutRect&);
+ void paint(GraphicsContext&, const LayoutRect&);
SkCanvas* drawingCanvas() const;
void disableDeferral() const;

Powered by Google App Engine
This is Rietveld 408576698