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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/ClipList.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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: third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp b/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
index 5b791bfc495374f6bb04530c56a0cc227733768e..45448aa33f3094be69ee9d53be805180fbe7b53d 100644
--- a/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
@@ -4,8 +4,8 @@
#include "modules/canvas2d/ClipList.h"
+#include "platform/graphics/paint/PaintCanvas.h"
#include "platform/transforms/AffineTransform.h"
-#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/pathops/SkPathOps.h"
namespace blink {
@@ -27,7 +27,7 @@ void ClipList::clipPath(const SkPath& path,
m_clipList.push_back(newClip);
}
-void ClipList::playback(SkCanvas* canvas) const {
+void ClipList::playback(PaintCanvas* canvas) const {
for (const ClipOp* it = m_clipList.begin(); it < m_clipList.end(); it++) {
canvas->clipPath(it->m_path, SkClipOp::kIntersect,
it->m_antiAliasingMode == AntiAliased);

Powered by Google App Engine
This is Rietveld 408576698