summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 16:59:24 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 16:59:24 +0000
commit2e6c6fc23a88c24a4760cbe62334f8f4ea661c4f (patch)
tree3be4b16a9f9b2ec32f6591c8edc33706dcf7007f /ppapi
parent47f169c46f5e001b99aeda2eaca6ca3c5a3b5b08 (diff)
downloadchromium_src-2e6c6fc23a88c24a4760cbe62334f8f4ea661c4f.zip
chromium_src-2e6c6fc23a88c24a4760cbe62334f8f4ea661c4f.tar.gz
chromium_src-2e6c6fc23a88c24a4760cbe62334f8f4ea661c4f.tar.bz2
Instantiate a base::AtExitManager in NaCl IPC proxy Main().
BUG=116317 TEST=manual Review URL: https://codereview.chromium.org/11312061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/plugin_main_nacl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/plugin_main_nacl.cc b/ppapi/proxy/plugin_main_nacl.cc
index 5706f78..67470fe 100644
--- a/ppapi/proxy/plugin_main_nacl.cc
+++ b/ppapi/proxy/plugin_main_nacl.cc
@@ -233,6 +233,8 @@ int IrtInit() {
}
int PpapiPluginMain() {
+ // Though it isn't referenced here, we must instantiate an AtExitManager.
+ base::AtExitManager exit_manager;
MessageLoop loop;
IPC::Logging::set_log_function_map(&g_log_function_mapping);
ppapi::proxy::PluginGlobals plugin_globals;