Index: third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
index 74dfec8d699965b976ced7569a3a7e7a3561d20d..690698217d05a56dab409131204a665914da7c81 100644 |
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
@@ -30,8 +30,8 @@ |
namespace blink { |
-StyleGeneratedImage::StyleGeneratedImage(PassRefPtrWillBeRawPtr<CSSImageGeneratorValue> value) |
- : m_imageGeneratorValue(value) |
+StyleGeneratedImage::StyleGeneratedImage(const CSSImageGeneratorValue& value) |
+ : m_imageGeneratorValue(const_cast<CSSImageGeneratorValue*>(&value)) |
, m_fixedSize(m_imageGeneratorValue->isFixedSize()) |
{ |
m_isGeneratedImage = true; |