Chromium Code Reviews| Index: Source/core/style/StyleFetchedImageSet.cpp |
| diff --git a/Source/core/style/StyleFetchedImageSet.cpp b/Source/core/style/StyleFetchedImageSet.cpp |
| index b5732d8fda2289ea1e6afcfeb79089396fd710c4..c546da395ff0bb5041697f66d67478447f29327a 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 ? m_imageSetValue->valueWithAbsoluteURL() : nullptr; |
|
Timothy Loh
2015/09/15 12:20:47
Looks like m_imageSetValue is never null?
nainar
2015/09/16 07:16:49
Done.
|
| +} |
| + |
| bool StyleFetchedImageSet::canRender(const LayoutObject& layoutObject, float multiplier) const |
| { |
| return m_bestFitImage->canRender(layoutObject, multiplier); |