Index: third_party/WebKit/Source/core/loader/ImageLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.h b/third_party/WebKit/Source/core/loader/ImageLoader.h |
index fd3ca94b90eb1b7caa42b8a7ad9a101964d558ca..31b3264245733de6b6508956a9f4ce23466e652b 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.h |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.h |
@@ -25,7 +25,8 @@ |
#include "core/CoreExport.h" |
#include "core/fetch/ImageResource.h" |
-#include "core/fetch/ImageResourceClient.h" |
+#include "core/fetch/ImageResourceObserver.h" |
+#include "core/fetch/ResourceClient.h" |
#include "platform/heap/Handle.h" |
#include "wtf/HashSet.h" |
#include "wtf/WeakPtr.h" |
@@ -57,7 +58,7 @@ class LayoutImageResource; |
template<typename T> class EventSender; |
using ImageEventSender = EventSender<ImageLoader>; |
-class CORE_EXPORT ImageLoader : public NoBaseWillBeGarbageCollectedFinalized<ImageLoader>, public ImageResourceClient { |
+class CORE_EXPORT ImageLoader : public NoBaseWillBeGarbageCollectedFinalized<ImageLoader>, public ResourceClient, public ImageResourceObserver { |
WILL_BE_USING_PRE_FINALIZER(ImageLoader, dispose); |
USING_FAST_MALLOC_WILL_BE_REMOVED(ImageLoader); |
public: |
@@ -118,7 +119,7 @@ public: |
void addClient(ImageLoaderClient*); |
void removeClient(ImageLoaderClient*); |
- bool getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy&) final; |
+ bool getImageAnimationPolicy(ImageAnimationPolicy&) final; |
protected: |
void notifyFinished(Resource*) override; |