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

Unified Diff: printing/backend/print_backend_cups.cc

Issue 2779893005: Continue to clean c_str() calls. (Closed)
Patch Set: Revert changes in font_service_app.cc Created 3 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
« no previous file with comments | « printing/backend/print_backend_chromeos.cc ('k') | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_cups.cc
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc
index 39a08581703eb492273aeb572b8d3386d856c0fa..66d65904777370757956d05c2fda40cc5f862b32 100644
--- a/printing/backend/print_backend_cups.cc
+++ b/printing/backend/print_backend_cups.cc
@@ -209,7 +209,7 @@ scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl(
print_backend_settings->GetInteger(kCUPSEncryption, &encryption);
}
- GURL print_server_url(print_server_url_str.c_str());
+ GURL print_server_url(print_server_url_str);
return new PrintBackendCUPS(print_server_url,
static_cast<http_encryption_t>(encryption),
cups_blocking == kValueTrue);
« no previous file with comments | « printing/backend/print_backend_chromeos.cc ('k') | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698