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

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

Issue 1143133007: Revert "Add a Color class to dart:sky." (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/core/painting/Color.dart ('k') | 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 9826515a8cc9dc2ab345329e3a314351f5355be0..ed94297790d476748123eff48c3f24dd331d9f42 100644
--- a/sky/engine/core/painting/Paint.h
+++ b/sky/engine/core/painting/Paint.h
@@ -5,7 +5,6 @@
#ifndef SKY_ENGINE_CORE_PAINTING_PAINT_H_
#define SKY_ENGINE_CORE_PAINTING_PAINT_H_
-#include "sky/engine/core/painting/CanvasColor.h"
#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/wtf/PassRefPtr.h"
#include "sky/engine/wtf/RefCounted.h"
@@ -30,7 +29,6 @@ public:
unsigned color() const { return m_paint.getColor(); }
void setColor(unsigned color) { m_paint.setColor(color); }
- void setColor(CanvasColor color) { m_paint.setColor(color.sk_color); }
void setARGB(unsigned a, unsigned r, unsigned g, unsigned b)
{
« no previous file with comments | « sky/engine/core/painting/Color.dart ('k') | sky/engine/core/painting/Paint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698