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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImageResource.h

Issue 1706083002: Split ImageResourceClient into ResourceClient and ImageResourceObserver [1/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
Index: third_party/WebKit/Source/core/layout/LayoutImageResource.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.h b/third_party/WebKit/Source/core/layout/LayoutImageResource.h
index 9680c5aa5365e2a7270f976abffa39fd293b94ad..9b87dafdd7d408355f5fe8250ad043d4a0e2b0ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImageResource.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.h
@@ -44,7 +44,7 @@ public:
return adoptPtrWillBeNoop(new LayoutImageResource);
}
- virtual void initialize(LayoutObject*);
+ virtual void initialize(LayoutObject*, ResourceClient*);
virtual void shutdown();
void setImageResource(ImageResource*);
@@ -69,6 +69,7 @@ protected:
LayoutImageResource();
LayoutObject* m_layoutObject;
RefPtrWillBeMember<ImageResource> m_cachedImage;
+ ResourceClient* m_client;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutImage.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698