Chromium Code Reviews| 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 |