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

Unified Diff: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc

Issue 310223002: Get most of the View Manager client lib tests to pass again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | mojo/services/public/cpp/view_manager/lib/view_tree_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc
index 258aeaed32dce0428722624406217ed5766ff108..77a9ce205e08ea2f558f2cd43d9e6a2ccc18e71e 100644
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc
@@ -446,7 +446,7 @@ ViewManagerSynchronizer::ViewManagerSynchronizer(ViewManager* view_manager)
}
ViewManagerSynchronizer::~ViewManagerSynchronizer() {
- Sync();
+ view_manager_.reset();
}
TransportNodeId ViewManagerSynchronizer::CreateViewTreeNode() {
« no previous file with comments | « no previous file | mojo/services/public/cpp/view_manager/lib/view_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698