Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
index b8440dc009530511a66b0bc3962c79e57523656f..1ab2cb6202af22f855d40e1af2266a97bebdcc9f 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -1873,7 +1873,7 @@ bool CompositedLayerMapping::isDirectlyCompositedImage() const |
if (!cachedImage->hasImage()) |
return false; |
- Image* image = cachedImage->imageForLayoutObject(imageLayoutObject); |
+ Image* image = cachedImage->image(); |
if (!image->isBitmapImage()) |
return false; |
@@ -1905,7 +1905,7 @@ void CompositedLayerMapping::updateImageContents() |
if (!cachedImage) |
return; |
- Image* image = cachedImage->imageForLayoutObject(imageLayoutObject); |
+ Image* image = cachedImage->image(); |
if (!image) |
return; |