Index: chrome/browser/printing/printing_layout_uitest.cc |
diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc |
index 2eaba30cf62f93db55113ff9903d1557f42b09fd..80093fe9f2fc98b0f1f0e8cd1336de79c446c9a2 100644 |
--- a/chrome/browser/printing/printing_layout_uitest.cc |
+++ b/chrome/browser/printing/printing_layout_uitest.cc |
@@ -21,7 +21,7 @@ namespace { |
using printing::Image; |
-const wchar_t* const kGenerateSwitch = L"print-layout-generate"; |
+const char kGenerateSwitch[] = "print-layout-generate"; |
const wchar_t kDocRoot[] = L"chrome/test/data"; |
class PrintingLayoutTest : public PrintingTest<UITest> { |
@@ -29,7 +29,7 @@ class PrintingLayoutTest : public PrintingTest<UITest> { |
PrintingLayoutTest() { |
emf_path_ = browser_directory_; |
emf_path_ = emf_path_.AppendASCII("metafile_dumps"); |
- launch_arguments_.AppendSwitchWithValue(L"debug-print", |
+ launch_arguments_.AppendSwitchWithValue("debug-print", |
L'"' + emf_path_.value() + L'"'); |
show_window_ = true; |
} |