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

Unified Diff: ppapi/nacl_irt/ppapi_dispatcher.cc

Issue 793723006: Revert of NaCl: Remove reliance on "init_done" SRPC call in the non-PNaCl case (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/ppapi_dispatcher.cc
diff --git a/ppapi/nacl_irt/ppapi_dispatcher.cc b/ppapi/nacl_irt/ppapi_dispatcher.cc
index ce8b8f63ecc62cc63ad9ec3c2c26935f7b79303b..059be41853532e23ac17959b292757164dccd939 100644
--- a/ppapi/nacl_irt/ppapi_dispatcher.cc
+++ b/ppapi/nacl_irt/ppapi_dispatcher.cc
@@ -182,11 +182,6 @@
// plugin.
proxy::InterfaceList::SetProcessGlobalPermissions(args.permissions);
- // Notify the renderer process, if necessary.
- ManifestService* manifest_service = GetManifestService();
- if (manifest_service)
- manifest_service->StartupInitializationComplete();
-
int32_t error = ::PPP_InitializeModule(
0 /* module */,
&proxy::PluginDispatcher::GetBrowserInterface);
@@ -206,6 +201,11 @@
}
// From here, the dispatcher will manage its own lifetime according to the
// lifetime of the attached channel.
+
+ // Notify the renderer process, if necessary.
+ ManifestService* manifest_service = GetManifestService();
+ if (manifest_service)
+ manifest_service->StartupInitializationComplete();
}
void PpapiDispatcher::OnPluginDispatcherMessageReceived(
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698