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

Unified Diff: chrome/renderer/renderer_main_platform_delegate_mac.mm

Issue 151202: Remove sysctl-read workarounds (Closed)
Patch Set: Created 11 years, 6 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
« base/sys_info_mac.cc ('K') | « base/sys_info_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_main_platform_delegate_mac.mm
diff --git a/chrome/renderer/renderer_main_platform_delegate_mac.mm b/chrome/renderer/renderer_main_platform_delegate_mac.mm
index 9e86044d9482993917559e6b0769728b846760aa..b94c6f0c4c371f22a6754f43b1e8f15da00b69ef 100644
--- a/chrome/renderer/renderer_main_platform_delegate_mac.mm
+++ b/chrome/renderer/renderer_main_platform_delegate_mac.mm
@@ -148,10 +148,6 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
// succeed.
DebugUtil::BeingDebugged();
- // Cache the System info information, since we can't query certain attributes
- // with the Sandbox enabled.
- base::SysInfo::CacheSysInfo();
-
// For the renderer, we give it a custom sandbox to lock down as tight as
// possible, but still be able to draw.
« base/sys_info_mac.cc ('K') | « base/sys_info_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698