| Index: services/ui/ws/window_server_test_impl.cc
|
| diff --git a/services/ui/ws/window_server_test_impl.cc b/services/ui/ws/window_server_test_impl.cc
|
| index 848b5c33ce7a057379978833eaf834002ef47ecb..64ec2d57a154653e4311f57439deb764575f5e76 100644
|
| --- a/services/ui/ws/window_server_test_impl.cc
|
| +++ b/services/ui/ws/window_server_test_impl.cc
|
| @@ -44,10 +44,9 @@ void WindowServerTestImpl::OnWindowPaint(
|
| }
|
|
|
| void WindowServerTestImpl::EnsureClientHasDrawnWindow(
|
| - const mojo::String& client_name,
|
| + const std::string& client_name,
|
| const EnsureClientHasDrawnWindowCallback& callback) {
|
| - std::string name = client_name.To<std::string>();
|
| - WindowTree* tree = window_server_->GetTreeWithClientName(name);
|
| + WindowTree* tree = window_server_->GetTreeWithClientName(client_name);
|
| if (tree) {
|
| for (const ServerWindow* window : tree->roots()) {
|
| if (WindowHasValidFrame(window)) {
|
| @@ -59,7 +58,7 @@ void WindowServerTestImpl::EnsureClientHasDrawnWindow(
|
|
|
| window_server_->SetPaintCallback(
|
| base::Bind(&WindowServerTestImpl::OnWindowPaint, base::Unretained(this),
|
| - name, std::move(callback)));
|
| + client_name, std::move(callback)));
|
| }
|
|
|
| } // namespace ws
|
|
|