| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 7780d57fe07600d53bc4349aea0e04805ad1d170..1841ffee0ca8a83d009cc303e5cd7f72f46a07c8 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -1292,8 +1292,10 @@ void WindowTree::AttachSurface(Id transport_window_id,
|
| GetWindowByClientId(ClientWindowId(transport_window_id));
|
| const bool success =
|
| window && access_policy_->CanSetWindowSurface(window, type);
|
| - if (!success)
|
| + if (!success) {
|
| + DVLOG(1) << "request to AttachSurface failed";
|
| return;
|
| + }
|
| window->CreateSurface(type, std::move(surface), std::move(client));
|
| }
|
|
|
|
|