Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: services/ui/public/cpp/window_tree_client.cc

Issue 2478383002: Remove SurfaceSequence from mus client code. (Closed)
Patch Set: Only cleanup. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_tree_client.cc
diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
index 84b2f203e95bd1985702a25a058729e2edaf76ad..eccd5719a0c6567e4f9a5cc672a3520284da774f 100644
--- a/services/ui/public/cpp/window_tree_client.cc
+++ b/services/ui/public/cpp/window_tree_client.cc
@@ -359,13 +359,6 @@ void WindowTreeClient::AttachCompositorFrameSink(
window_id, type, std::move(compositor_frame_sink), std::move(client));
}
-void WindowTreeClient::OnWindowSurfaceDetached(
- Id window_id,
- const cc::SurfaceSequence& sequence) {
- DCHECK(tree_);
- tree_->OnWindowSurfaceDetached(window_id, sequence);
-}
-
void WindowTreeClient::LocalSetCapture(Window* window) {
if (capture_window_ == window)
return;
@@ -1096,7 +1089,6 @@ void WindowTreeClient::OnWindowPredefinedCursorChanged(
void WindowTreeClient::OnWindowSurfaceChanged(
Id window_id,
const cc::SurfaceId& surface_id,
- const cc::SurfaceSequence& surface_sequence,
const gfx::Size& frame_size,
float device_scale_factor) {
Window* window = GetWindowByServerId(window_id);
@@ -1104,7 +1096,6 @@ void WindowTreeClient::OnWindowSurfaceChanged(
return;
std::unique_ptr<SurfaceInfo> surface_info(base::MakeUnique<SurfaceInfo>());
surface_info->surface_id = surface_id;
- surface_info->surface_sequence = surface_sequence;
surface_info->frame_size = frame_size;
surface_info->device_scale_factor = device_scale_factor;
WindowPrivate(window).LocalSetSurfaceId(std::move(surface_info));
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698