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

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

Issue 1890613002: Support createImageBitmap from a SVG image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cover test for SVG image without intrinsic size Created 4 years, 8 months 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 eb4efe0e236d38a2eb1a544bcff600876450ba75..0687e02b7c191b4de9295ec8f504070b1e3cad5b 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -86,6 +86,8 @@ public:
String debugName() const final { return "SVGImage"; }
LayoutRect visualRect() const override;
+ bool hasIntrinsicSize();
+
private:
friend class AXLayoutObject;
friend class SVGImageChromeClient;

Powered by Google App Engine
This is Rietveld 408576698