Chromium Code Reviews| Index: Source/core/style/StyleGeneratedImage.cpp |
| diff --git a/Source/core/style/StyleGeneratedImage.cpp b/Source/core/style/StyleGeneratedImage.cpp |
| index fff63c74437c584b51b40ef7fedef448df0a4949..931556cf90b0535af5b189d9f5dcaa1ec5132355 100644 |
| --- a/Source/core/style/StyleGeneratedImage.cpp |
| +++ b/Source/core/style/StyleGeneratedImage.cpp |
| @@ -42,6 +42,11 @@ PassRefPtrWillBeRawPtr<CSSValue> StyleGeneratedImage::cssValue() const |
| return m_imageGeneratorValue.get(); |
| } |
| +PassRefPtrWillBeRawPtr<CSSValue> StyleGeneratedImage::computedCSSValue() const |
| +{ |
| + return m_imageGeneratorValue ? m_imageGeneratorValue->valueWithAbsoluteURL() : nullptr; |
|
Timothy Loh
2015/09/15 12:20:47
m_imageGeneratorValue looks non-null
nainar
2015/09/16 07:16:49
Done.
|
| +} |
| + |
| LayoutSize StyleGeneratedImage::imageSize(const LayoutObject* layoutObject, float multiplier) const |
| { |
| if (m_fixedSize) { |