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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp

Issue 2474093003: Don't use url from ImageResource for computed style. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
index 4e16bbd8741ad720397cdad2edeb7e5ae112c5ba..75026667dbbec063d2822a1081a75d003c7d68fa 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
@@ -56,8 +56,7 @@ ImageResource* StyleFetchedImage::cachedImage() const {
}
CSSValue* StyleFetchedImage::cssValue() const {
- return CSSImageValue::create(m_image->url(),
- const_cast<StyleFetchedImage*>(this));
+ return CSSImageValue::create(m_url, const_cast<StyleFetchedImage*>(this));
}
CSSValue* StyleFetchedImage::computedCSSValue() const {
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698