Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
index f339d164ddedc44ee82d398388951a79dc2844a4..05eca6cca110a3dad7732d1aab1fe3ac214d2b55 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
@@ -49,11 +49,10 @@ class PLATFORM_EXPORT DeferredImageDecoder final { |
USING_FAST_MALLOC(DeferredImageDecoder); |
public: |
- static std::unique_ptr<DeferredImageDecoder> Create( |
- PassRefPtr<SharedBuffer> data, |
- bool data_complete, |
- ImageDecoder::AlphaOption, |
- const ColorBehavior&); |
+ static std::unique_ptr<DeferredImageDecoder> Create(RefPtr<SharedBuffer> data, |
+ bool data_complete, |
+ ImageDecoder::AlphaOption, |
+ const ColorBehavior&); |
static std::unique_ptr<DeferredImageDecoder> CreateForTesting( |
std::unique_ptr<ImageDecoder>); |
@@ -92,7 +91,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final { |
sk_sp<SkImage> CreateFrameImageAtIndex(size_t index, bool known_to_be_opaque); |
- void SetDataInternal(PassRefPtr<SharedBuffer> data, |
+ void SetDataInternal(RefPtr<SharedBuffer> data, |
bool all_data_received, |
bool push_data_to_decoder); |