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

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

Issue 244243002: Pass SharedBuffer by reference to DeferredImageDecoder::setData() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/platform/graphics/ImageSource.h
diff --git a/Source/platform/graphics/ImageSource.h b/Source/platform/graphics/ImageSource.h
index bf84e295c0426ca1748050495d8280e50636f238..cfd69e3274b1d7962509b2eb79aadd026832df92 100644
--- a/Source/platform/graphics/ImageSource.h
+++ b/Source/platform/graphics/ImageSource.h
@@ -98,7 +98,7 @@ public:
bool initialized() const;
- void setData(SharedBuffer* data, bool allDataReceived);
+ void setData(SharedBuffer& data, bool allDataReceived);
String filenameExtension() const;
bool isSizeAvailable();

Powered by Google App Engine
This is Rietveld 408576698