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 fe2c4fd5ee4bdd69fa24079ea8e5806f35a200f0..4deb4c1f99012da61621d40bdb84dce1566b167a 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -1858,7 +1858,7 @@ bool CompositedLayerMapping::isDirectlyCompositedImage() const |
if (!cachedImage->hasImage()) |
return false; |
- Image* image = cachedImage->imageForLayoutObject(imageLayoutObject); |
+ Image* image = cachedImage->image(); |
if (!image->isBitmapImage()) |
return false; |
@@ -1890,7 +1890,7 @@ void CompositedLayerMapping::updateImageContents() |
if (!cachedImage) |
return; |
- Image* image = cachedImage->imageForLayoutObject(imageLayoutObject); |
+ Image* image = cachedImage->image(); |
if (!image) |
return; |