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

Unified Diff: chrome/browser/printing/cloud_print/privet_http_unittest.cc

Issue 1803263002: base: Make RefCountedBytes::TakeVector return ref ptr instead of raw ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: chrome/browser/printing/cloud_print/privet_http_unittest.cc
diff --git a/chrome/browser/printing/cloud_print/privet_http_unittest.cc b/chrome/browser/printing/cloud_print/privet_http_unittest.cc
index 711d34ced5d89fe9f7207cf70eaf1f690feeb175..eb356a76666040773b5ed0c27e3bbe701280624e 100644
--- a/chrome/browser/printing/cloud_print/privet_http_unittest.cc
+++ b/chrome/browser/printing/cloud_print/privet_http_unittest.cc
@@ -771,8 +771,7 @@ class PrivetLocalPrintTest : public PrivetHTTPTest {
std::string str) {
std::vector<unsigned char> str_vec;
str_vec.insert(str_vec.begin(), str.begin(), str.end());
- return scoped_refptr<base::RefCountedBytes>(
- base::RefCountedBytes::TakeVector(&str_vec));
+ return base::RefCountedBytes::TakeVector(&str_vec);
}
protected:
« no previous file with comments | « chrome/browser/history/android/sqlite_cursor_unittest.cc ('k') | chrome/browser/printing/print_preview_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698