| 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 219d0f355aac039fbf5846da229643835c6f3ec9..a6fc1bf8ecf8f5d9e702bbbf76ebb2d1c2d27f11 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -27,7 +27,7 @@
|
|
|
| #include "core/HTMLNames.h"
|
| #include "core/dom/DOMNodeIds.h"
|
| -#include "core/fetch/ImageResource.h"
|
| +#include "core/fetch/ImageResourceContent.h"
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/RemoteFrame.h"
|
| @@ -2469,7 +2469,7 @@ bool CompositedLayerMapping::isDirectlyCompositedImage() const {
|
| imageLayoutObject->hasObjectFit())
|
| return false;
|
|
|
| - if (ImageResource* cachedImage = imageLayoutObject->cachedImage()) {
|
| + if (ImageResourceContent* cachedImage = imageLayoutObject->cachedImage()) {
|
| if (!cachedImage->hasImage())
|
| return false;
|
|
|
| @@ -2500,7 +2500,7 @@ void CompositedLayerMapping::updateImageContents() {
|
| ASSERT(layoutObject()->isImage());
|
| LayoutImage* imageLayoutObject = toLayoutImage(layoutObject());
|
|
|
| - ImageResource* cachedImage = imageLayoutObject->cachedImage();
|
| + ImageResourceContent* cachedImage = imageLayoutObject->cachedImage();
|
| if (!cachedImage)
|
| return;
|
|
|
|
|