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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.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/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 1424270ced32ecd0d35621cadb56af40944393f0..8aea7a94f31338a43df696c93aed346760424c71 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -62,7 +62,7 @@
#include "core/events/KeyboardEvent.h"
#include "core/events/ScopedEventQueue.h"
#include "core/events/TextEvent.h"
-#include "core/fetch/ImageResource.h"
+#include "core/fetch/ImageResourceContent.h"
#include "core/fetch/ResourceFetcher.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
@@ -490,7 +490,7 @@ static PassRefPtr<Image> imageFromNode(const Node& node) {
if (!layoutImage)
return nullptr;
- ImageResource* cachedImage = layoutImage->cachedImage();
+ ImageResourceContent* cachedImage = layoutImage->cachedImage();
if (!cachedImage || cachedImage->errorOccurred())
return nullptr;
return cachedImage->getImage();
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp ('k') | third_party/WebKit/Source/core/fetch/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698