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

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

Issue 1182563002: Remove redundant Paint.setARGB in favor of assigning to Paint.color. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | sky/engine/core/painting/Paint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Paint.h
diff --git a/sky/engine/core/painting/Paint.h b/sky/engine/core/painting/Paint.h
index f5df044016934cc0539f84dcdc664d9d9fd7bce6..6d3451ae3fb2815e10ee4de5fb83ba63e59dfdd1 100644
--- a/sky/engine/core/painting/Paint.h
+++ b/sky/engine/core/painting/Paint.h
@@ -38,10 +38,6 @@ public:
SkScalar strokeWidth() const { return m_paint.getStrokeWidth(); }
void setStrokeWidth(SkScalar strokeWidth) { m_paint.setStrokeWidth(strokeWidth); }
- void setARGB(unsigned a, unsigned r, unsigned g, unsigned b)
- {
- m_paint.setARGB(a, r, g, b);
- }
void setDrawLooper(DrawLooper* looper);
void setColorFilter(ColorFilter* filter);
void setMaskFilter(MaskFilter* filter);
« no previous file with comments | « no previous file | sky/engine/core/painting/Paint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698