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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 9374020: mac: Remove InitWebCoreSystemInterface() calls from many random places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | content/ppapi_plugin/ppapi_plugin_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index ceabdb8418d613e2ea0bdf48c3655f874c6d7411..f7543d57c604ab8e72911ae25d23d95a6f6404d9 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -62,7 +62,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
@@ -589,15 +588,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
« no previous file with comments | « no previous file | content/ppapi_plugin/ppapi_plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698