Index: ui/views/mus/window_manager_connection.cc |
diff --git a/ui/views/mus/window_manager_connection.cc b/ui/views/mus/window_manager_connection.cc |
index a42f9ddcf3961f6e2d814e9f2fdace96c81d6bb5..65e2804cf8abd962fcd8a00a8afaf444098d4e12 100644 |
--- a/ui/views/mus/window_manager_connection.cc |
+++ b/ui/views/mus/window_manager_connection.cc |
@@ -6,7 +6,6 @@ |
#include "base/lazy_instance.h" |
#include "base/threading/thread_local.h" |
-#include "base/threading/thread_restrictions.h" |
#include "components/mus/public/cpp/window_tree_connection.h" |
#include "components/mus/public/interfaces/window_tree.mojom.h" |
#include "mojo/application/public/cpp/application_connection.h" |
@@ -112,8 +111,6 @@ |
window_manager_->OpenWindow( |
window_tree_client.Pass(), |
mojo::Map<mojo::String, mojo::Array<uint8_t>>::From(properties)); |
- |
- base::ThreadRestrictions::ScopedAllowWait allow_wait; |
mus::WindowTreeConnection* window_tree_connection = |
mus::WindowTreeConnection::Create( |
this, window_tree_client_request.Pass(), |