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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: Rebase Created 4 years 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 1c33485e39292924bcbe7f978bafef8f57ea1127..8c1248c6d005c2203644e5bc8464f342631c617a 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.cpp
@@ -24,7 +24,7 @@
#include "core/HTMLNames.h"
#include "core/dom/Element.h"
#include "core/events/Event.h"
-#include "core/fetch/ImageResource.h"
+#include "core/fetch/ImageResourceContent.h"
#include "core/fetch/ResourceLoadingLog.h"
#include "core/html/HTMLImageElement.h"
#include "core/html/HTMLInputElement.h"
@@ -70,8 +70,8 @@ void HTMLImageLoader::noImageResourceToLoad() {
loadFallbackContentForElement(element());
}
-void HTMLImageLoader::imageNotifyFinished(ImageResource*) {
- ImageResource* cachedImage = image();
+void HTMLImageLoader::imageNotifyFinished(ImageResourceContent*) {
+ ImageResourceContent* cachedImage = image();
Element* element = this->element();
ImageLoader::imageNotifyFinished(cachedImage);

Powered by Google App Engine
This is Rietveld 408576698