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 93f0e2a4535eaedd77b800c188d7a62d5ce01e3d..c7c98ffdb6a20779ef23a18efc50ec980f2b1739 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" |
@@ -489,7 +489,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(); |