Index: examples/surfaces_app/child_impl.cc |
diff --git a/examples/surfaces_app/child_impl.cc b/examples/surfaces_app/child_impl.cc |
index 5577fcdf65b26a8014943c066f9dd0e99edafa5b..e4e35f022997a9de05185669e38d8678994d0ab9 100644 |
--- a/examples/surfaces_app/child_impl.cc |
+++ b/examples/surfaces_app/child_impl.cc |
@@ -36,7 +36,7 @@ ChildImpl::ChildImpl(ApplicationConnection* surfaces_service_connection, |
surfaces_service_connection->ConnectToService(&surface_); |
surface_->GetIdNamespace( |
base::Bind(&ChildImpl::SetIdNamespace, base::Unretained(this))); |
- surface_.WaitForIncomingMethodCall(); // Wait for ID namespace to arrive. |
+ surface_.WaitForIncomingResponse(); // Wait for ID namespace to arrive. |
DCHECK_NE(0u, id_namespace_); |
} |