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

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

Issue 1498683003: Teach SVGImageForContainer::imageForCurrentFrame about the URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drop-image-setcontainersize
Patch Set: Created 5 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 0a5f77d30ae1f9adb29969e09a7db60fbab13e76..db762d1c7af32f521f765c06864e83e9c1281d7f 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -108,6 +108,7 @@ private:
void drawForContainer(SkCanvas*, const SkPaint&, const FloatSize, float, const FloatRect&, const FloatRect&, const KURL&);
void drawPatternForContainer(GraphicsContext*, const FloatSize, float, const FloatRect&, const FloatSize&, const FloatPoint&,
SkXfermode::Mode, const FloatRect&, const FloatSize& repeatSpacing, const KURL&);
+ PassRefPtr<SkImage> imageForCurrentFrameForContainer(const KURL&);
void drawInternal(SkCanvas*, const SkPaint&, const FloatRect& fromRect, const FloatRect& toRect, RespectImageOrientationEnum,
ImageClampingMode, const KURL&);

Powered by Google App Engine
This is Rietveld 408576698