diff options
author | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 16:49:43 +0000 |
---|---|---|
committer | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 16:49:43 +0000 |
commit | f12b5127bf168cb15f5cc3446f74c9743cc7e872 (patch) | |
tree | 72227e64475b275b269afc3382d2d2ebcef513f6 | |
parent | b40d59ad80efe5c10ef15ed7a5fd3544f627ba7b (diff) | |
download | chromium_src-f12b5127bf168cb15f5cc3446f74c9743cc7e872.zip chromium_src-f12b5127bf168cb15f5cc3446f74c9743cc7e872.tar.gz chromium_src-f12b5127bf168cb15f5cc3446f74c9743cc7e872.tar.bz2 |
Revert 96565 - Warm up locale and KsecDD in renderer sandbox
I did this in the other sandboxed processes, but missed the renderer because these susbsystems get warmed up implicitly by other initialization. However, changing initialization order (or dependency changes in the underlying libraries) could introduce random crashes. So, for consistency explicit warmup is best, and will be needed for a later patch that closes the LPC ports.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7629015
TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/7637014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96566 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/renderer/renderer_main.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc index 61f10f5..2c1937b 100644 --- a/content/renderer/renderer_main.cc +++ b/content/renderer/renderer_main.cc @@ -208,12 +208,6 @@ int RendererMain(const MainFunctionParams& parameters) { #endif bool run_loop = true; if (!no_sandbox) { - // Cause advapi32 to load before the sandbox is turned on. - unsigned int dummy_rand; - rand_s(&dummy_rand); - // Warm up language subsystems before the sandbox is turned on. - ::GetUserDefaultLangID(); - ::GetUserDefaultLCID(); run_loop = platform.EnableSandbox(); } else { LOG(ERROR) << "Running without renderer sandbox"; |