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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/print_dialog_cloud.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index fe2e255bca93674713432a85f1078db23aec06b0..f8469f17970c6636aa4c8e19c06049e04c358422 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -179,7 +179,7 @@ void CloudPrintDataSender::ReadPrintDataFile(const FilePath& path_to_file) {
header.append(file_type_);
header.append(";base64,");
base64_data.insert(0, header);
- scoped_ptr<StringValue> new_data(new StringValue(base64_data));
+ scoped_ptr<StringValue> new_data(base::StringValue::New(base64_data));
print_data_.swap(new_data);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
NewRunnableMethod(
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698