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

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

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)
Patch Set: tested Created 3 years, 6 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 05996b5a457781bdbfb78f7440eba4dfbb09efa9..f37d1efb4b30d7838c831c725c1328ab25a94e5e 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -57,8 +57,9 @@ class SVGImageForContainer;
// needed by SVGImage.
class CORE_EXPORT SVGImage final : public Image {
public:
- static PassRefPtr<SVGImage> Create(ImageObserver* observer) {
- return AdoptRef(new SVGImage(observer));
+ static PassRefPtr<SVGImage> Create(ImageObserver* observer,
+ bool is_multipart = false) {
+ return AdoptRef(new SVGImage(observer, is_multipart));
}
static bool IsInSVGImage(const Node*);
@@ -105,7 +106,7 @@ class CORE_EXPORT SVGImage final : public Image {
// the the Image interface.
friend class SVGImageForContainer;
- SVGImage(ImageObserver*);
+ SVGImage(ImageObserver*, bool is_multipart);
~SVGImage() override;
String FilenameExtension() const override;

Powered by Google App Engine
This is Rietveld 408576698