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

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

Issue 1438663002: Avoid calling imageForCurrentFrame on SVGImage when not necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 c23f4520eb11636adae1510679b259d0010e56c3..703913bd9ed6dfeeb7435c5a08d320b6c5554f9f 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -54,6 +54,7 @@ public:
LayoutBox* embeddedContentBox() const;
bool isSVGImage() const override { return true; }
+ bool isTextureBacked() override { return false; }
IntSize size() const override { return m_intrinsicSize; }
void setURL(const KURL& url) { m_url = url; }

Powered by Google App Engine
This is Rietveld 408576698