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

Unified Diff: remoting/base/compound_buffer.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « remoting/base/auto_thread.cc ('k') | remoting/base/compound_buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/compound_buffer.cc
diff --git a/remoting/base/compound_buffer.cc b/remoting/base/compound_buffer.cc
index 049ad8e5bc58690159f09f2a879efe519a9c6ae4..79b4d32818b9f65127ab93bcc59768c084f9640f 100644
--- a/remoting/base/compound_buffer.cc
+++ b/remoting/base/compound_buffer.cc
@@ -52,7 +52,7 @@ void CompoundBuffer::Append(net::IOBuffer* buffer, int size) {
void CompoundBuffer::Append(const CompoundBuffer& buffer) {
for (DataChunkList::const_iterator it = buffer.chunks_.begin();
it != buffer.chunks_.end(); ++it) {
- Append(it->buffer, it->start, it->size);
+ Append(it->buffer.get(), it->start, it->size);
}
}
@@ -75,7 +75,7 @@ void CompoundBuffer::Prepend(net::IOBuffer* buffer, int size) {
void CompoundBuffer::Prepend(const CompoundBuffer& buffer) {
for (DataChunkList::const_iterator it = buffer.chunks_.begin();
it != buffer.chunks_.end(); ++it) {
- Prepend(it->buffer, it->start, it->size);
+ Prepend(it->buffer.get(), it->start, it->size);
}
}
void CompoundBuffer::AppendCopyOf(const char* data, int size) {
« no previous file with comments | « remoting/base/auto_thread.cc ('k') | remoting/base/compound_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698