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