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

Unified Diff: mojo/examples/nesting_app/nesting_app.cc

Issue 374933003: Remove DispositionChangePhase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « mojo/examples/embedded_app/embedded_app.cc ('k') | mojo/services/public/cpp/view_manager/lib/node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « mojo/examples/embedded_app/embedded_app.cc ('k') | mojo/services/public/cpp/view_manager/lib/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698