| Index: mojo/examples/pepper_container_app/pepper_container_app.cc
|
| diff --git a/mojo/examples/pepper_container_app/pepper_container_app.cc b/mojo/examples/pepper_container_app/pepper_container_app.cc
|
| index dc4a9cecf390b2b227507219a69f0d0ccb4dae37..cec08cd5523e71ae9d6a56b5793b98e0564fe394 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 {
|
|
|