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

Unified Diff: sky/engine/core/painting/Canvas.h

Issue 1135283005: Sky: Add a CustomDart attribute to the IDL compiler, and use that with Canvas (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: . Created 5 years, 7 months 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
« no previous file with comments | « sky/engine/bindings/scripts/templates/interface_dart.template ('k') | sky/engine/core/painting/Canvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Canvas.h
diff --git a/sky/engine/core/painting/Canvas.h b/sky/engine/core/painting/Canvas.h
index e22d04910c06c29d4134a8e876aaf5c308dfe2b3..ca8af6e29ec4e494316248455a84bf2f01ad81d6 100644
--- a/sky/engine/core/painting/Canvas.h
+++ b/sky/engine/core/painting/Canvas.h
@@ -39,11 +39,10 @@ public:
void clipRect(const Vector<float>& rect);
void drawPicture(Picture* picture);
-
- void drawPaint(Paint* paint);
+ void drawPaint(const Paint* paint);
void drawRect(const Vector<float>& rect, const Paint* paint);
void drawOval(const Vector<float>& rect, const Paint* paint);
- void drawCircle(float x, float y, float radius, Paint* paint);
+ void drawCircle(float x, float y, float radius, const Paint* paint);
SkCanvas* skCanvas() { return m_canvas; }
« no previous file with comments | « sky/engine/bindings/scripts/templates/interface_dart.template ('k') | sky/engine/core/painting/Canvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698