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 7a4237d403016eafaa67be28ab835cdf0c97dda9..efec60f7e562efad5a4a867a8d861886caebbfe1 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.cpp |
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
@@ -435,7 +435,7 @@ static PassRefPtr<Image> imageFromNode(const Node& node) |
ImageResource* cachedImage = layoutImage->cachedImage(); |
if (!cachedImage || cachedImage->errorOccurred()) |
return nullptr; |
- return cachedImage->imageForLayoutObject(layoutImage); |
+ return cachedImage->image(); |
} |
return nullptr; |