summaryrefslogtreecommitdiffstats
path: root/components/mus/ws/server_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/mus/ws/server_window.cc')
-rw-r--r--components/mus/ws/server_window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/mus/ws/server_window.cc b/components/mus/ws/server_window.cc
index c0bcffa..407d698 100644
--- a/components/mus/ws/server_window.cc
+++ b/components/mus/ws/server_window.cc
@@ -75,8 +75,8 @@ void ServerWindow::RemoveObserver(ServerWindowObserver* observer) {
void ServerWindow::CreateSurface(mojom::SurfaceType surface_type,
mojo::InterfaceRequest<mojom::Surface> request,
mojom::SurfaceClientPtr client) {
- GetOrCreateSurfaceManager()->CreateSurface(surface_type, request.Pass(),
- client.Pass());
+ GetOrCreateSurfaceManager()->CreateSurface(surface_type, std::move(request),
+ std::move(client));
}
void ServerWindow::Add(ServerWindow* child) {