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

Unified Diff: chrome/browser/browser_main.cc

Issue 3054042: De-wstringify some browser startup code. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: net fix Created 10 years, 5 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 | « chrome/browser/browser_init.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index f570903e8c5ad4591cda1c7515dd5cdb85303d9e..fc56e82ff0443e9497738fc47e037995a2274f80 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -1221,8 +1221,9 @@ int BrowserMain(const MainFunctionParams& parameters) {
#if defined(OS_WIN) && !defined(GOOGLE_CHROME_BUILD)
if (parsed_command_line.HasSwitch(switches::kDebugPrint)) {
- printing::PrintedDocument::set_debug_dump_path(
- parsed_command_line.GetSwitchValue(switches::kDebugPrint));
+ FilePath path =
+ parsed_command_line.GetSwitchValuePath(switches::kDebugPrint);
+ printing::PrintedDocument::set_debug_dump_path(path.value());
}
#endif
« no previous file with comments | « chrome/browser/browser_init.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698