Index: third_party/WebKit/Source/platform/graphics/ImageSource.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp |
index 82de4f3bd015cb0810becef88c39772ce3c43c33..85de405baf0f488b4484aeb7d30af418e0f6413e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp |
@@ -46,9 +46,7 @@ PassRefPtr<SharedBuffer> ImageSource::Data() { |
return decoder_ ? decoder_->Data() : nullptr; |
} |
-bool ImageSource::SetData(PassRefPtr<SharedBuffer> pass_data, |
- bool all_data_received) { |
- RefPtr<SharedBuffer> data = pass_data; |
+bool ImageSource::SetData(RefPtr<SharedBuffer> data, bool all_data_received) { |
all_data_received_ = all_data_received; |
if (decoder_) { |