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

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

Issue 1427943002: Wrap SVGImage for container during paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use IntSize for SVGImageForContainer Created 5 years, 1 month 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 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;

Powered by Google App Engine
This is Rietveld 408576698