diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 01:16:03 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 01:16:03 +0000 |
commit | db8562c14d6d8e09cc8453eb9e9b9b7cdf6d11b0 (patch) | |
tree | ab6f88d7a4b4c6838cbb56db4f95eabb13649a88 /chrome/renderer | |
parent | 2c4f5143cffe615185e9de9c81ea748ce82e6777 (diff) | |
download | chromium_src-db8562c14d6d8e09cc8453eb9e9b9b7cdf6d11b0.zip chromium_src-db8562c14d6d8e09cc8453eb9e9b9b7cdf6d11b0.tar.gz chromium_src-db8562c14d6d8e09cc8453eb9e9b9b7cdf6d11b0.tar.bz2 |
Enable --single-process for Mac and Linux.
Additionally, wire in a bit of setup for the --single-process case,
because it cannot be done by the renderer thread because that thread
is not the main thread.
Fair warning: --single-process often seems to be broken by various
unrelated changes, which may-or-may-not make assumptions about the
process architecture. I will try to stay on top of these.
Review URL: http://codereview.chromium.org/21330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/renderer_main_platform_delegate_mac.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_main_platform_delegate_mac.mm b/chrome/renderer/renderer_main_platform_delegate_mac.mm index 4705aea..70ce7f4 100644 --- a/chrome/renderer/renderer_main_platform_delegate_mac.mm +++ b/chrome/renderer/renderer_main_platform_delegate_mac.mm @@ -25,6 +25,9 @@ RendererMainPlatformDelegate::RendererMainPlatformDelegate( RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { } +// TODO(mac-port): Any code needed to initialize a process for +// purposes of running a renderer needs to also be reflected in +// chrome_dll_main.cc for --single-process support. void RendererMainPlatformDelegate::PlatformInitialize() { // Load WebKit system interfaces. InitWebCoreSystemInterface(); |