diff options
Diffstat (limited to 'mojo/examples/pepper_container_app')
-rw-r--r-- | mojo/examples/pepper_container_app/pepper_container_app.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mojo/examples/pepper_container_app/pepper_container_app.cc b/mojo/examples/pepper_container_app/pepper_container_app.cc index dc4a9ce..cec08cd 100644 --- a/mojo/examples/pepper_container_app/pepper_container_app.cc +++ b/mojo/examples/pepper_container_app/pepper_container_app.cc @@ -55,7 +55,7 @@ class PepperContainerApp: public ApplicationDelegate, plugin_instance_.reset(); } - virtual void OnDestroyed() OVERRIDE { + virtual void OnDestroyed(const mojo::Callback<void()>& callback) OVERRIDE { ppapi::ProxyAutoLock lock; if (plugin_instance_) { @@ -64,6 +64,7 @@ class PepperContainerApp: public ApplicationDelegate, } base::MessageLoop::current()->Quit(); + callback.Run(); } virtual void OnBoundsChanged(RectPtr bounds) OVERRIDE { |