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

Unified Diff: Source/core/style/StyleGeneratedImage.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: Ensure getComputedStyle returns absolute URLs 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
Index: Source/core/style/StyleGeneratedImage.h
diff --git a/Source/core/style/StyleGeneratedImage.h b/Source/core/style/StyleGeneratedImage.h
index 8112e2d3ccdd271a2f2aaa680adc96033ca419f9..bc6ab42b82261d2abdee2b57f89c2d2ccf779401 100644
--- a/Source/core/style/StyleGeneratedImage.h
+++ b/Source/core/style/StyleGeneratedImage.h
@@ -42,6 +42,7 @@ public:
WrappedImagePtr data() const override { return m_imageGeneratorValue.get(); }
PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
+ PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override;
LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
bool imageHasRelativeWidth() const override { return !m_fixedSize; }

Powered by Google App Engine
This is Rietveld 408576698