Index: sky/engine/core/painting/Paint.h |
diff --git a/sky/engine/core/painting/Paint.h b/sky/engine/core/painting/Paint.h |
index a592623c0a7434076e0d944182bbf6e47dde5a99..d5eae0edea2c4bf6be195885bc827d3a5f52dcf0 100644 |
--- a/sky/engine/core/painting/Paint.h |
+++ b/sky/engine/core/painting/Paint.h |
@@ -12,6 +12,8 @@ |
namespace blink { |
+class DrawLooper; |
+ |
class Paint : public RefCounted<Paint>, public DartWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
@@ -31,8 +33,10 @@ public: |
{ |
m_paint.setARGB(a, r, g, b); |
} |
+ void setDrawLooper(DrawLooper* looper); |
const SkPaint& paint() const { return m_paint; } |
+ void set_paint(const SkPaint& paint) { m_paint = paint; } |
abarth-chromium
2015/05/27 20:17:44
set_paint => setPaint ?
|
private: |
Paint(); |