summaryrefslogtreecommitdiffstats
path: root/cloud_print/service
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 23:38:31 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 23:38:31 +0000
commited264deb5072425ac355bf4b4cc3d43059ddae94 (patch)
tree1bc17706e54a8009b9227fa8fd72601ce2e5ff94 /cloud_print/service
parente52df78a3a91d83ba947e0a65aa5f3252657adf6 (diff)
downloadchromium_src-ed264deb5072425ac355bf4b4cc3d43059ddae94.zip
chromium_src-ed264deb5072425ac355bf4b4cc3d43059ddae94.tar.gz
chromium_src-ed264deb5072425ac355bf4b4cc3d43059ddae94.tar.bz2
Update cloud_print/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16154014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service')
-rw-r--r--cloud_print/service/service_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc
index 0c30be6..5b97d02 100644
--- a/cloud_print/service/service_state.cc
+++ b/cloud_print/service/service_state.cc
@@ -64,7 +64,7 @@ class ServiceStateURLRequestDelegate : public net::URLRequest::Delegate {
const int kBufSize = 100000;
scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(kBufSize));
int num_bytes = 0;
- while (request->Read(buf, kBufSize, &num_bytes)) {
+ while (request->Read(buf.get(), kBufSize, &num_bytes)) {
data_.append(buf->data(), buf->data() + num_bytes);
}
}