| Index: sky/engine/core/painting/Paint.cpp
|
| diff --git a/sky/engine/core/painting/Paint.cpp b/sky/engine/core/painting/Paint.cpp
|
| index f3e6fcae0fbd241cca373bde147ae83dce270c6c..54e37368b12a2573cc1209a1202e4a3611775f49 100644
|
| --- a/sky/engine/core/painting/Paint.cpp
|
| +++ b/sky/engine/core/painting/Paint.cpp
|
| @@ -5,9 +5,17 @@
|
| #include "sky/engine/config.h"
|
| #include "sky/engine/core/painting/Paint.h"
|
|
|
| +#include "sky/engine/core/painting/DrawLooper.h"
|
| +
|
| namespace blink {
|
|
|
| Paint::Paint()
|
| + : m_paint(&m_inline_paint)
|
| +{
|
| +}
|
| +
|
| +Paint::Paint(SkPaint* paint)
|
| + : m_paint(paint)
|
| {
|
| }
|
|
|
| @@ -15,4 +23,10 @@ Paint::~Paint()
|
| {
|
| }
|
|
|
| +void Paint::setDrawLooper(DrawLooper* looper)
|
| +{
|
| + ASSERT(looper);
|
| + m_paint->setLooper(looper->looper());
|
| +}
|
| +
|
| } // namespace blink
|
|
|