Index: third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp |
diff --git a/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp b/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp |
index 46da74fc61fd101d3799108c7567817eb5bd495e..db8125e2373d476f7dd77a92c12b89cda4bbd00d 100644 |
--- a/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp |
+++ b/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp |
@@ -34,7 +34,7 @@ |
namespace blink { |
-SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const Vector<char>& separator) |
+SharedBufferChunkReader::SharedBufferChunkReader(PassRefPtr<SharedBuffer> buffer, const Vector<char>& separator) |
: m_buffer(buffer) |
, m_bufferPosition(0) |
, m_segment(0) |
@@ -46,7 +46,7 @@ SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const Vec |
{ |
} |
-SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const char* separator) |
+SharedBufferChunkReader::SharedBufferChunkReader(PassRefPtr<SharedBuffer> buffer, const char* separator) |
: m_buffer(buffer) |
, m_bufferPosition(0) |
, m_segment(0) |