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

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

Issue 1017593005: Add a basic custom painting facility to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing files Created 5 years, 9 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
Index: sky/engine/core/painting/Paint.h
diff --git a/sky/engine/core/painting/Paint.h b/sky/engine/core/painting/Paint.h
index 58794fcb2bb4dae9836c0d5b9a03066bf5ef65a8..a592623c0a7434076e0d944182bbf6e47dde5a99 100644
--- a/sky/engine/core/painting/Paint.h
+++ b/sky/engine/core/painting/Paint.h
@@ -29,7 +29,7 @@ public:
void setARGB(unsigned a, unsigned r, unsigned g, unsigned b)
{
- m_paint.setARGB(r, g, b, a);
+ m_paint.setARGB(a, r, g, b);
ojan 2015/03/19 22:30:04 hah
}
const SkPaint& paint() const { return m_paint; }

Powered by Google App Engine
This is Rietveld 408576698