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

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.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/platform/graphics/PaintGeneratedImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
index f46047dbe8eb8b67f5489fc7777e150a6452c5bf..306909a03c568539486c16f06ee32620e0ada330 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
@@ -6,17 +6,17 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/GraphicsContext.h"
-#include "third_party/skia/include/core/SkPicture.h"
+#include "skia/ext/cdl_picture.h"
namespace blink {
-void PaintGeneratedImage::draw(SkCanvas* canvas,
- const SkPaint& paint,
+void PaintGeneratedImage::draw(CdlCanvas* canvas,
+ const CdlPaint& paint,
const FloatRect& destRect,
const FloatRect& srcRect,
RespectImageOrientationEnum,
ImageClampingMode) {
- SkAutoCanvasRestore ar(canvas, true);
+ CdlAutoCanvasRestore ar(canvas, true);
canvas->clipRect(destRect);
canvas->translate(destRect.x(), destRect.y());
if (destRect.size() != srcRect.size())

Powered by Google App Engine
This is Rietveld 408576698