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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEImageElement.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/svg/SVGFEImageElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
index 440520dbcc13dfe605c4b197d85acce44abb0548..ec9b5cc562a6a9f90416c971f986605607fa8208 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
@@ -162,7 +162,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEImageElement::build(SVGFilterBuilder*,
if (m_cachedImage) {
// Don't use the broken image icon on image loading errors.
RefPtr<Image> image = m_cachedImage->errorOccurred() ?
- nullptr : m_cachedImage->imageForLayoutObject(layoutObject());
+ nullptr : m_cachedImage->image();
return FEImage::createWithImage(filter, image, m_preserveAspectRatio->currentValue());
}

Powered by Google App Engine
This is Rietveld 408576698