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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.h

Issue 1844603002: Make ImageLoader non-ResourceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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/loader/ImageLoader.h
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.h b/third_party/WebKit/Source/core/loader/ImageLoader.h
index 1e48abf9a188d990207a175ae489a249b9e87063..5758a11bfc30f5c930b967c96875addd577c297c 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.h
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.h
@@ -44,7 +44,7 @@ class LayoutImageResource;
template<typename T> class EventSender;
using ImageEventSender = EventSender<ImageLoader>;
-class CORE_EXPORT ImageLoader : public GarbageCollectedFinalized<ImageLoader>, public ResourceClient, public ImageResourceObserver {
+class CORE_EXPORT ImageLoader : public GarbageCollectedFinalized<ImageLoader>, public ImageResourceObserver {
USING_PRE_FINALIZER(ImageLoader, dispose);
public:
explicit ImageLoader(Element*);
@@ -103,7 +103,7 @@ public:
bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
protected:
- void notifyFinished(Resource*) override;
+ void imageNotifyFinished(ImageResource*) override;
private:
class Task;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageLoader.cpp ('k') | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698