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

Unified Diff: third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp

Issue 2054643003: Remove duplication of encoded image data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebase) Created 4 years, 5 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: 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)

Powered by Google App Engine
This is Rietveld 408576698