Index: mojo/services/view_manager/view_manager_init_service_context.cc |
diff --git a/mojo/services/view_manager/view_manager_init_service_context.cc b/mojo/services/view_manager/view_manager_init_service_context.cc |
index a833c1caf7f37a471a06cdabc812f9a1f7f5a4f3..5e63bb865f588ed44caf13726cb2d572bdfe1cfb 100644 |
--- a/mojo/services/view_manager/view_manager_init_service_context.cc |
+++ b/mojo/services/view_manager/view_manager_init_service_context.cc |
@@ -67,7 +67,7 @@ void ViewManagerInitServiceContext::Embed( |
MaybeEmbed(); |
} |
-void ViewManagerInitServiceContext::OnRootViewManagerWindowTreeHostCreated() { |
+void ViewManagerInitServiceContext::OnDisplayManagerWindowTreeHostCreated() { |
DCHECK(!is_tree_host_ready_); |
is_tree_host_ready_ = true; |
MaybeEmbed(); |