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

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

Issue 1367193003: NOT FOR LANDING Allocate SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some NeedsRebaseline and revived some LayoutListMarker code that turned out to be important Created 5 years, 2 months 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 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;

Powered by Google App Engine
This is Rietveld 408576698