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

Unified Diff: content/ppapi_plugin/ppapi_plugin_main.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 | « chrome/app/chrome_main_delegate.cc ('k') | content/renderer/renderer_main_platform_delegate_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_plugin_main.cc
diff --git a/content/ppapi_plugin/ppapi_plugin_main.cc b/content/ppapi_plugin/ppapi_plugin_main.cc
index 1b0d2ee332db9d49f8a81fe87951b4a1cd6605ba..f9dd80373bcdc913d4a0b3e33d485ef0550e408c 100644
--- a/content/ppapi_plugin/ppapi_plugin_main.cc
+++ b/content/ppapi_plugin/ppapi_plugin_main.cc
@@ -17,10 +17,6 @@
#include "sandbox/src/sandbox.h"
#endif
-#if defined(OS_MACOSX)
-#include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.h"
-#endif
-
#if defined(OS_WIN)
sandbox::TargetServices* g_target_services = NULL;
#else
@@ -45,12 +41,6 @@ int PpapiPluginMain(const content::MainFunctionParams& parameters) {
ChildProcess::WaitForDebugger("Ppapi");
}
-#if defined(OS_MACOSX)
- // TODO(viettrungluu): This is called in different places in processes that
- // will run WebKit. This is stupid and error-prone.
- InitWebCoreSystemInterface();
-#endif
-
MessageLoop main_message_loop;
base::PlatformThread::SetName("CrPPAPIMain");
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | content/renderer/renderer_main_platform_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698