Index: chrome/app/chrome_dll_main.cc |
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc |
index 006d923e46c7ee5fb9e1492d820adfedff70e592..b6c8b51e70c41c46339c264f892038014cc3f18c 100644 |
--- a/chrome/app/chrome_dll_main.cc |
+++ b/chrome/app/chrome_dll_main.cc |
@@ -399,20 +399,6 @@ int ChromeMain(int argc, const char** argv) { |
InitCrashReporter(); |
#endif |
-#if defined(OS_POSIX) |
- // Bug 11776: we mistakenly created directories world-readable. |
- // Fix old instances of these directories manually. |
- // TODO(evanm): remove this code in a month or two. |
- if (user_data_dir.empty()) { |
- FilePath fix_dir; |
- CHECK(PathService::Get(chrome::DIR_USER_DATA, &fix_dir)); |
- struct stat statbuf; |
- CHECK(stat(fix_dir.value().c_str(), &statbuf) == 0); |
- if ((statbuf.st_mode & 0077) != 0) |
- CHECK(chmod(fix_dir.value().c_str(), 0700) == 0); |
Evan Martin
2009/05/29 22:23:03
Let me fix this separately.
In fact, you get a pr
|
- } |
-#endif |
- |
bool single_process = |
#if defined (GOOGLE_CHROME_BUILD) |
// This is an unsupported and not fully tested mode, so don't enable it for |