Index: components/mus/ws/window_tree_host_impl.cc |
diff --git a/components/mus/ws/window_tree_host_impl.cc b/components/mus/ws/window_tree_host_impl.cc |
index 8aa8f6a2cf3588f151f04448b4e7207fcd933655..ef92138123e19ddf399a9b0ba0d6972a8551e4c7 100644 |
--- a/components/mus/ws/window_tree_host_impl.cc |
+++ b/components/mus/ws/window_tree_host_impl.cc |
@@ -50,8 +50,6 @@ |
// For mouse moves, the new event just replaces the old event. |
return second; |
} |
- |
-uint32_t next_id = 1; |
} // namespace |
@@ -100,8 +98,7 @@ |
DisplayManager::Create(app_impl, gpu_state, surfaces_state)), |
window_manager_(std::move(window_manager)), |
tree_awaiting_input_ack_(nullptr), |
- last_cursor_(0), |
- id_(next_id) { |
+ last_cursor_(0) { |
display_manager_->Init(this); |
if (client_) { |
client_.set_connection_error_handler(base::Bind( |
@@ -156,10 +153,6 @@ |
const mojom::ViewportMetrics& WindowTreeHostImpl::GetViewportMetrics() const { |
return display_manager_->GetViewportMetrics(); |
-} |
- |
-mojom::Rotation WindowTreeHostImpl::GetRotation() const { |
- return display_manager_->GetRotation(); |
} |
void WindowTreeHostImpl::SetFocusedWindow(ServerWindow* new_focused_window) { |