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

Unified Diff: sandbox/win/src/sandbox_policy_base.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: sandbox/win/src/sandbox_policy_base.cc
diff --git a/sandbox/win/src/sandbox_policy_base.cc b/sandbox/win/src/sandbox_policy_base.cc
index 9c3bf0c7a6bab1436d44899d40d1a9de5c65476a..2168a17cefba95a7559cc547d0c10bd57e274b82 100644
--- a/sandbox/win/src/sandbox_policy_base.cc
+++ b/sandbox/win/src/sandbox_policy_base.cc
@@ -79,9 +79,9 @@ HANDLE CreateLowBoxObjectDirectory(PSID lowbox_sid) {
if (!::ConvertSidToStringSid(lowbox_sid, &sid_string))
return NULL;
- base::string16 directory_path = base::StringPrintf(
+ base::string16 directory_path = L"";/* base::StringPrintf(
L"\\Sessions\\%d\\AppContainerNamedObjects\\%ls",
- session_id, sid_string).c_str();
+ session_id, sid_string).c_str();*/
::LocalFree(sid_string);
NtCreateDirectoryObjectFunction CreateObjectDirectory = NULL;

Powered by Google App Engine
This is Rietveld 408576698