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

Unified Diff: remoting/base/compound_buffer_unittest.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/compound_buffer.cc ('k') | remoting/base/rsa_key_pair.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/compound_buffer_unittest.cc
diff --git a/remoting/base/compound_buffer_unittest.cc b/remoting/base/compound_buffer_unittest.cc
index 77cb48438105abf6b28b38212b609611ed1861d2..c6dde77f398cae2b9e8cc2e329127ffa664ecb8c 100644
--- a/remoting/base/compound_buffer_unittest.cc
+++ b/remoting/base/compound_buffer_unittest.cc
@@ -35,7 +35,7 @@ class CompoundBufferTest : public testing::Test {
// Following 5 methods are used with IterateOverPieces().
void Append(int pos, int size) {
- target_.Append(data_, data_->data() + pos, size);
+ target_.Append(data_.get(), data_->data() + pos, size);
}
void AppendCopyOf(int pos, int size) {
@@ -43,7 +43,7 @@ class CompoundBufferTest : public testing::Test {
}
void Prepend(int pos, int size) {
- target_.Prepend(data_, data_->data() + kDataSize - pos - size, size);
+ target_.Prepend(data_.get(), data_->data() + kDataSize - pos - size, size);
}
void PrependCopyOf(int pos, int size) {
« no previous file with comments | « remoting/base/compound_buffer.cc ('k') | remoting/base/rsa_key_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698