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

Unified Diff: Source/core/style/StylePendingImage.h

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/StyleImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StylePendingImage.h
diff --git a/Source/core/style/StylePendingImage.h b/Source/core/style/StylePendingImage.h
index 8a00d6d36f786d8fdd979851fe9d1ced7cf48a69..79e58947cafadebd9a441aaed9c1fd736c1df72b 100644
--- a/Source/core/style/StylePendingImage.h
+++ b/Source/core/style/StylePendingImage.h
@@ -49,6 +49,13 @@ public:
WrappedImagePtr data() const override { return m_value; }
PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override { return m_value; }
+
+ PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override
+ {
+ ASSERT_NOT_REACHED();
+ return nullptr;
+ }
+
CSSImageValue* cssImageValue() const { return m_value->isImageValue() ? toCSSImageValue(m_value) : 0; }
CSSImageGeneratorValue* cssImageGeneratorValue() const { return m_value->isImageGeneratorValue() ? toCSSImageGeneratorValue(m_value) : 0; }
CSSCursorImageValue* cssCursorImageValue() const { return m_value->isCursorImageValue() ? toCSSCursorImageValue(m_value) : 0; }
« no previous file with comments | « Source/core/style/StyleImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698