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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEImageElement.h

Issue 2740003003: Use IdTargetObserver in SVGFEImageElement (Closed)
Patch Set: Forward declare ImageResourceContent Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGFEImageElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
index 111df6ac22726b50c2e8fcaccd42b2882ee8b01f..7d1c271c94be5d629b314d0f92528268ba5c1e6f 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
@@ -21,8 +21,6 @@
#ifndef SVGFEImageElement_h
#define SVGFEImageElement_h
-#include "core/SVGNames.h"
-#include "core/loader/resource/ImageResourceContent.h"
#include "core/loader/resource/ImageResourceObserver.h"
#include "core/svg/SVGAnimatedPreserveAspectRatio.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
@@ -31,6 +29,8 @@
namespace blink {
+class ImageResourceContent;
+
class SVGFEImageElement final : public SVGFilterPrimitiveStandardAttributes,
public SVGURIReference,
public ImageResourceObserver {
@@ -62,6 +62,7 @@ class SVGFEImageElement final : public SVGFilterPrimitiveStandardAttributes,
void clearResourceReferences();
void fetchImageResource();
+ void clearImageResource();
void buildPendingResource() override;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
@@ -70,6 +71,7 @@ class SVGFEImageElement final : public SVGFilterPrimitiveStandardAttributes,
Member<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
Member<ImageResourceContent> m_cachedImage;
+ Member<IdTargetObserver> m_targetIdObserver;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698