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

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: Make FastSharedBufferReader a member Created 5 years, 4 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/image-decoders/FastSharedBufferReader.h
diff --git a/Source/platform/image-decoders/FastSharedBufferReader.h b/Source/platform/image-decoders/FastSharedBufferReader.h
index 254476b435615daeabbfc07fce8ded953dd8729d..9cab891679de5d20688c52e5b1bb81cbb5050888 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(SharedBuffer*);
Peter Kasting 2015/09/02 22:08:54 Is it really correct that the constructor takes a
scroggo_chromium 2015/09/02 23:01:07 Me neither...
Peter Kasting 2015/09/02 23:48:44 Definitely at least figure out precisely what the
scroggo_chromium 2015/09/03 22:04:19 I just talked this over with a couple of people, a
+
// 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

Powered by Google App Engine
This is Rietveld 408576698