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

Unified Diff: content/ppapi_plugin/ppapi_plugin_main.cc

Issue 10091003: Convert flash to thunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « content/ppapi_plugin/ppapi_broker_main.cc ('k') | content/ppapi_plugin/ppapi_thread.h » ('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 c4f50546469fd53c7ace4efa8e60a242d485c8cc..7f79f48da540601cfd3a83b6aa983f6989f92ad1 100644
--- a/content/ppapi_plugin/ppapi_plugin_main.cc
+++ b/content/ppapi_plugin/ppapi_plugin_main.cc
@@ -53,10 +53,8 @@ int PpapiPluginMain(const content::MainFunctionParams& parameters) {
#endif
ChildProcess ppapi_process;
- ppapi_process.set_main_thread(new PpapiThread(false)); // Not a broker.
-
- ppapi::proxy::ProxyModule::GetInstance()->SetFlashCommandLineArgs(
- command_line.GetSwitchValueASCII(switches::kPpapiFlashArgs));
+ ppapi_process.set_main_thread(
+ new PpapiThread(parameters.command_line, false)); // Not a broker.
main_message_loop.Run();
return 0;
« no previous file with comments | « content/ppapi_plugin/ppapi_broker_main.cc ('k') | content/ppapi_plugin/ppapi_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698