Commit cd51c31e authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

window-service: remove dead code

There is no need for clients to call OnChildResizing() as it does nothing in
mus.

BUG=none
TEST=none

Change-Id: Ia38b2032068ac011325fdf0717e8db07a9943626
Reviewed-on: https://chromium-review.googlesource.com/c/1479290
Auto-Submit: Scott Violet <sky@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634718}
parent 25866462
...@@ -726,13 +726,6 @@ void WindowTreeClient::ScheduleInFlightBoundsChange( ...@@ -726,13 +726,6 @@ void WindowTreeClient::ScheduleInFlightBoundsChange(
// only after the initial value from the server is received. The server // only after the initial value from the server is received. The server
// expects that if a LocalSurfaceIdAllocation is supplied, it must be valid. // expects that if a LocalSurfaceIdAllocation is supplied, it must be valid.
local_surface_id_allocation.reset(); local_surface_id_allocation.reset();
} else if (window->window_mus_type() != WindowMusType::TOP_LEVEL) {
// |window_tree_host| may be null if this is called during creation of
// the window associated with the WindowTreeHostMus, or if there is an
// embedding.
WindowTreeHost* window_tree_host = window->GetWindow()->GetHost();
if (window_tree_host && window_tree_host->window() == window->GetWindow())
window_tree_host->compositor()->OnChildResizing();
} }
const uint32_t change_id = const uint32_t change_id =
ScheduleInFlightChange(std::make_unique<InFlightBoundsChange>( ScheduleInFlightChange(std::make_unique<InFlightBoundsChange>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment