diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-14 20:53:09 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-14 20:53:09 +0000 |
commit | a3638bbe6364eed17f7d03bf89b504ba34d63038 (patch) | |
tree | d7662f1ef60211056fbad1cc17b9d68cf16d4797 /chrome | |
parent | 5714e775d97d11eba077ce7d17b4203f279546a9 (diff) | |
download | chromium_src-a3638bbe6364eed17f7d03bf89b504ba34d63038.zip chromium_src-a3638bbe6364eed17f7d03bf89b504ba34d63038.tar.gz chromium_src-a3638bbe6364eed17f7d03bf89b504ba34d63038.tar.bz2 |
mac: Remove InitWebCoreSystemInterface() calls from many random places.
This is now done at the webkit api layer
(https://bugs.webkit.org/show_bug.cgi?id=78246), so clients no longer
have to explicitly do this. Fixes 2 TODOs, helps with the mac
component build, and removes a direct WebCore dependency from
client code.
BUG=90078
TEST=none
TBR=tony,brettw
Review URL: http://codereview.chromium.org/9374020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/app/chrome_main_delegate.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc index a742401..27823d4 100644 --- a/chrome/app/chrome_main_delegate.cc +++ b/chrome/app/chrome_main_delegate.cc @@ -60,7 +60,6 @@ #include "chrome/common/mac/cfbundle_blocker.h" #include "chrome/common/mac/objc_zombie.h" #include "grit/chromium_strings.h" -#include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.h" #include "ui/base/l10n/l10n_util_mac.h" #endif @@ -587,15 +586,6 @@ void ChromeMainDelegate::PreSandboxStartup() { #if !defined(GOOGLE_CHROME_BUILD) if (command_line.HasSwitch(switches::kSingleProcess)) { content::RenderProcessHost::set_run_renderer_in_process(true); -#if defined(OS_MACOSX) - // TODO(port-mac): This is from renderer_main_platform_delegate.cc. - // shess tried to refactor things appropriately, but it sprawled out - // of control because different platforms needed different styles of - // initialization. Try again once we understand the process - // architecture needed and where it should live. - InitWebCoreSystemInterface(); -#endif - InitializeChromeContentRendererClient(); } #endif // GOOGLE_CHROME_BUILD |