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

Unified Diff: sky/engine/core/painting/DrawLooper.cpp

Issue 1144193006: Sky: Add a DrawLooper interface to the painting API to be used for shadows. (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
Index: sky/engine/core/painting/DrawLooper.cpp
diff --git a/sky/engine/core/painting/Paint.cpp b/sky/engine/core/painting/DrawLooper.cpp
similarity index 61%
copy from sky/engine/core/painting/Paint.cpp
copy to sky/engine/core/painting/DrawLooper.cpp
index f3e6fcae0fbd241cca373bde147ae83dce270c6c..d468ffa5fc839643a52d244cd239459f804ded13 100644
--- a/sky/engine/core/painting/Paint.cpp
+++ b/sky/engine/core/painting/DrawLooper.cpp
@@ -3,15 +3,16 @@
// found in the LICENSE file.
#include "sky/engine/config.h"
-#include "sky/engine/core/painting/Paint.h"
+#include "sky/engine/core/painting/DrawLooper.h"
namespace blink {
-Paint::Paint()
+DrawLooper::DrawLooper(PassRefPtr<SkDrawLooper> looper)
+ : m_looper(looper)
{
}
-Paint::~Paint()
+DrawLooper::~DrawLooper()
{
}

Powered by Google App Engine
This is Rietveld 408576698