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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageLoader.cpp

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/html/HTMLImageLoader.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp b/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp
index 87959f8ce338fec32c15dd8468882409ee25efe1..01e59d35a5261c135f29f0445146c64e97c8177c 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp
@@ -73,11 +73,11 @@ void HTMLImageLoader::noImageResourceToLoad()
loadFallbackContentForElement(element());
}
-void HTMLImageLoader::notifyFinished(Resource*)
+void HTMLImageLoader::imageNotifyFinished(ImageResource*)
{
ImageResource* cachedImage = image();
RawPtr<Element> element = this->element();
- ImageLoader::notifyFinished(cachedImage);
+ ImageLoader::imageNotifyFinished(cachedImage);
bool loadError = cachedImage->errorOccurred();
if (isHTMLImageElement(*element)) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageLoader.h ('k') | third_party/WebKit/Source/core/loader/ImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698