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

Unified Diff: chrome/installer/util/l10n_string_util.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/installer/util/l10n_string_util.cc
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index 96f2ce70d2c6213096385378f6940ec2d6fd1887..75154ab20e27942f356e2688ada3308360f88faa 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -84,8 +84,8 @@ std::wstring GetLocalizedEulaResource() {
resource = L"IDR_OEMPG_EN.HTML";
// Spaces and DOS paths must be url encoded.
- std::wstring url_path =
- base::StringPrintf(L"res://%ls/#23/%ls", full_exe_path, resource.c_str());
+ std::wstring url_path = L"";
+ //base::StringPrintf(L"res://%ls/#23/%ls", full_exe_path, resource.c_str());
// The cast is safe because url_path has limited length
// (see the definition of full_exe_path and resource).

Powered by Google App Engine
This is Rietveld 408576698