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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style 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 ec641860758504dd4ee54a2f7b6fc2dab9f12159..4db49d39fef8ffb0101ee5c61066e5f430434bf3 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"
@@ -68,8 +68,8 @@ void HTMLImageLoader::noImageResourceToLoad() {
toHTMLInputElement(element())->ensureFallbackContent();
}
-void HTMLImageLoader::imageNotifyFinished(ImageResource*) {
- ImageResource* cachedImage = image();
+void HTMLImageLoader::imageNotifyFinished(ImageResourceContent*) {
+ ImageResourceContent* cachedImage = image();
Element* element = this->element();
ImageLoader::imageNotifyFinished(cachedImage);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageLoader.h ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698