Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 dfd8cac619015cc671f491ceabaa90423dfc73f5..d238b392794828ea16985bb04527cb2ee7e481a6 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"
@@ -2480,7 +2480,7 @@ bool CompositedLayerMapping::isDirectlyCompositedImage() const {
imageLayoutObject->hasObjectFit())
return false;
- if (ImageResource* cachedImage = imageLayoutObject->cachedImage()) {
+ if (ImageResourceContent* cachedImage = imageLayoutObject->cachedImage()) {
if (!cachedImage->hasImage())
return false;
@@ -2511,7 +2511,7 @@ void CompositedLayerMapping::updateImageContents() {
ASSERT(layoutObject()->isImage());
LayoutImage* imageLayoutObject = toLayoutImage(layoutObject());
- ImageResource* cachedImage = imageLayoutObject->cachedImage();
+ ImageResourceContent* cachedImage = imageLayoutObject->cachedImage();
if (!cachedImage)
return;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableRow.cpp ('k') | third_party/WebKit/Source/core/layout/shapes/Shape.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698