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

Unified Diff: Source/platform/image-decoders/FastSharedBufferReader.h

Issue 1259083003: Do not consolidate data in BMPImageDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@SegmentedBuffer
Patch Set: Do not use a raw pointer Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/image-decoders/FastSharedBufferReader.h
diff --git a/Source/platform/image-decoders/FastSharedBufferReader.h b/Source/platform/image-decoders/FastSharedBufferReader.h
index 254476b435615daeabbfc07fce8ded953dd8729d..3e2099a58303df7b06b909ad9543aecc43ae94cc 100644
--- a/Source/platform/image-decoders/FastSharedBufferReader.h
+++ b/Source/platform/image-decoders/FastSharedBufferReader.h
@@ -46,6 +46,8 @@ class PLATFORM_EXPORT FastSharedBufferReader {
public:
FastSharedBufferReader(PassRefPtr<SharedBuffer> data);
+ void setData(PassRefPtr<SharedBuffer>);
+
// Returns a consecutive buffer that carries the data starting
// at |dataPosition| with |length| bytes.
// This method returns a pointer to a memory segment stored in
« no previous file with comments | « no previous file | Source/platform/image-decoders/FastSharedBufferReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698