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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/CanvasStyle.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
index 3f8b1894d780b0030bf109ad595049b96cfd51e0..32408380cf0b08defa6072fc916f392c173b0993 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
@@ -37,6 +37,7 @@
#include "platform/graphics/skia/SkiaUtils.h"
#include "third_party/skia/include/core/SkShader.h"
#include "wtf/PassRefPtr.h"
+#include "skia/ext/cdl_paint.h"
namespace blink {
@@ -105,7 +106,7 @@ CanvasStyle* CanvasStyle::createFromPattern(CanvasPattern* pattern) {
return new CanvasStyle(pattern);
}
-void CanvasStyle::applyToPaint(SkPaint& paint) const {
+void CanvasStyle::applyToPaint(CdlPaint& paint) const {
switch (m_type) {
case ColorRGBA:
paint.setShader(nullptr);
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h ('k') | third_party/WebKit/Source/modules/canvas2d/ClipList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698