| Index: mojo/examples/nesting_app/nesting_app.cc
|
| diff --git a/mojo/examples/nesting_app/nesting_app.cc b/mojo/examples/nesting_app/nesting_app.cc
|
| index 8e6673673e9db5beb32653a7b172fcf2a92dd695..f0b67633f69e2a28e6629a51c6ff353ac132c487 100644
|
| --- a/mojo/examples/nesting_app/nesting_app.cc
|
| +++ b/mojo/examples/nesting_app/nesting_app.cc
|
| @@ -102,11 +102,7 @@ class NestingApp : public ApplicationDelegate,
|
| }
|
|
|
| // Overridden from NodeObserver:
|
| - virtual void OnNodeDestroy(
|
| - Node* node,
|
| - NodeObserver::DispositionChangePhase phase) OVERRIDE {
|
| - if (phase != NodeObserver::DISPOSITION_CHANGED)
|
| - return;
|
| + virtual void OnNodeDestroyed(Node* node) OVERRIDE {
|
| // TODO(beng): reap views & child nodes.
|
| nested_ = NULL;
|
| }
|
|
|