Index: third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
index 4703939642e1ca18d91cbf3258a3574472b22265..ccac1ac4d6a08dd68fa7bd9c0c7f51cd50d66bc4 100644 |
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
@@ -34,7 +34,8 @@ class CSSImageGeneratorValue; |
class CORE_EXPORT StyleGeneratedImage final : public StyleImage { |
public: |
- static PassRefPtrWillBeRawPtr<StyleGeneratedImage> create(const CSSImageGeneratorValue& value) |
+ // TODO(sashab): Make this take a PassRefPtrWillBeRawPtr<const CSSImageGeneratorValue>. |
+ static PassRefPtrWillBeRawPtr<StyleGeneratedImage> create(PassRefPtrWillBeRawPtr<CSSImageGeneratorValue> value) |
{ |
return adoptRefWillBeNoop(new StyleGeneratedImage(value)); |
} |
@@ -58,7 +59,7 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
private: |
- StyleGeneratedImage(const CSSImageGeneratorValue&); |
+ StyleGeneratedImage(PassRefPtrWillBeRawPtr<CSSImageGeneratorValue>); |
// TODO(sashab): Replace this with <const CSSImageGeneratorValue> once RefPtrWillBeMember<> |
// supports const types. |