Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1092)

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.h

Issue 2807073002: Removed local RefPtr objects created from PassRefPtr arguments. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index 1c27e91c56c97c4da5c69b5a3831b848ab7d2353..f530753bc84156d732844f580ef7af9133fce491 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -74,7 +74,7 @@ class PLATFORM_EXPORT ImageSource final {
PassRefPtr<SharedBuffer> Data();
// Returns false when the decoder layer rejects the data.
- bool SetData(PassRefPtr<SharedBuffer> data, bool all_data_received);
+ bool SetData(RefPtr<SharedBuffer> data, bool all_data_received);
String FilenameExtension() const;
bool IsSizeAvailable();

Powered by Google App Engine
This is Rietveld 408576698