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

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: Rebase 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 b8440dc009530511a66b0bc3962c79e57523656f..1ab2cb6202af22f855d40e1af2266a97bebdcc9f 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -1873,7 +1873,7 @@ bool CompositedLayerMapping::isDirectlyCompositedImage() const
if (!cachedImage->hasImage())
return false;
- Image* image = cachedImage->imageForLayoutObject(imageLayoutObject);
+ Image* image = cachedImage->image();
if (!image->isBitmapImage())
return false;
@@ -1905,7 +1905,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