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

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

Issue 317433004: Get view manager client lib unit test harness to run again. Does not get any individual tests worki… (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
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 7d1d489ef51e0db3a7ee2b08152a66f68717cf57..258aeaed32dce0428722624406217ed5766ff108 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
@@ -560,12 +560,10 @@ void ViewManagerSynchronizer::OnViewManagerConnectionEstablished(
connection_id_ = connection_id;
next_server_change_id_ = next_server_change_id;
- ViewManagerPrivate(view_manager()).set_root(
- BuildNodeTree(view_manager(), nodes));
-
+ ViewManagerPrivate private_manager(view_manager());
+ private_manager.set_root(BuildNodeTree(view_manager(), nodes));
Sync();
-
- base::MessageLoop::current()->Quit();
+ private_manager.NotifyReady();
}
void ViewManagerSynchronizer::OnServerChangeIdAdvanced(
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/view_manager_private.h ('k') | mojo/services/public/cpp/view_manager/tests/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698