Index: Source/core/style/StyleFetchedImage.cpp |
diff --git a/Source/core/style/StyleFetchedImage.cpp b/Source/core/style/StyleFetchedImage.cpp |
index 5f3d9d007bae15292386c4ff5aa78bf896b5b7ec..5d5f23daed52061e715a13a70acae5766379017c 100644 |
--- a/Source/core/style/StyleFetchedImage.cpp |
+++ b/Source/core/style/StyleFetchedImage.cpp |
@@ -49,6 +49,11 @@ PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImage::cssValue() const |
return CSSImageValue::create(m_image->url(), const_cast<StyleFetchedImage*>(this)); |
} |
+PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImage::computedCSSValue() const |
+{ |
+ return CSSImageValue::create(m_image->url(), const_cast<StyleFetchedImage*>(this)); |
alancutter (OOO until 2018)
2015/09/18 02:55:09
Add comment stating why the const_cast is necessar
nainar
2015/09/18 03:47:25
Done.
|
+} |
+ |
bool StyleFetchedImage::canRender(const LayoutObject& layoutObject, float multiplier) const |
{ |
return m_image->canRender(layoutObject, multiplier); |