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

Unified Diff: Source/core/style/StyleFetchedImageSet.cpp

Issue 1306283006: BackgroundImage incorrectly returns empty url() when created on-the-fly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/style/StyleFetchedImageSet.h ('k') | Source/core/style/StyleGeneratedImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleFetchedImageSet.cpp
diff --git a/Source/core/style/StyleFetchedImageSet.cpp b/Source/core/style/StyleFetchedImageSet.cpp
index b5732d8fda2289ea1e6afcfeb79089396fd710c4..8c766212726921eaf1176009046f8f3c4b4e3319 100644
--- a/Source/core/style/StyleFetchedImageSet.cpp
+++ b/Source/core/style/StyleFetchedImageSet.cpp
@@ -52,6 +52,11 @@ PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImageSet::cssValue() const
return m_imageSetValue;
}
+PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImageSet::computedCSSValue() const
+{
+ return m_imageSetValue->valueWithURLsMadeAbsolute();
+}
+
bool StyleFetchedImageSet::canRender(const LayoutObject& layoutObject, float multiplier) const
{
return m_bestFitImage->canRender(layoutObject, multiplier);
« no previous file with comments | « Source/core/style/StyleFetchedImageSet.h ('k') | Source/core/style/StyleGeneratedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698