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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

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/core/svg/graphics/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index 77657e21e521738d312036fe70674f3969512efb..9b13b9b319958af33441ad138ae36d2802d11a06 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -120,14 +120,14 @@ class CORE_EXPORT SVGImage final : public Image {
return false;
}
- void draw(SkCanvas*,
- const SkPaint&,
+ void draw(CdlCanvas*,
+ const CdlPaint&,
const FloatRect& fromRect,
const FloatRect& toRect,
RespectImageOrientationEnum,
ImageClampingMode) override;
- void drawForContainer(SkCanvas*,
- const SkPaint&,
+ void drawForContainer(CdlCanvas*,
+ const CdlPaint&,
const FloatSize,
float,
const FloatRect&,
@@ -145,8 +145,8 @@ class CORE_EXPORT SVGImage final : public Image {
const KURL&);
sk_sp<SkImage> imageForCurrentFrameForContainer(const KURL&,
const IntSize& containerSize);
- void drawInternal(SkCanvas*,
- const SkPaint&,
+ void drawInternal(CdlCanvas*,
+ const CdlPaint&,
const FloatRect& fromRect,
const FloatRect& toRect,
RespectImageOrientationEnum,
« no previous file with comments | « third_party/WebKit/Source/core/paint/VideoPainterTest.cpp ('k') | third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698