Index: content/renderer/mus/compositor_mus_connection.cc |
diff --git a/content/renderer/mus/compositor_mus_connection.cc b/content/renderer/mus/compositor_mus_connection.cc |
index 00b9e4920c60bd41f1a5107bfd53f9b9eaa39da8..6973de6f6661938c064804b8e4fd6e766db3fa47 100644 |
--- a/content/renderer/mus/compositor_mus_connection.cc |
+++ b/content/renderer/mus/compositor_mus_connection.cc |
@@ -47,7 +47,7 @@ void CompositorMusConnection::AttachSurfaceOnCompositorThread( |
DCHECK(compositor_task_runner_->BelongsToCurrentThread()); |
window_surface_binding_ = std::move(surface_binding); |
if (root_) { |
- root_->AttachSurface(mus::mojom::SURFACE_TYPE_DEFAULT, |
+ root_->AttachSurface(mus::mojom::SurfaceType::DEFAULT, |
std::move(window_surface_binding_)); |
} |
} |
@@ -101,7 +101,7 @@ void CompositorMusConnection::OnEmbed(mus::Window* root) { |
root_ = root; |
root_->set_input_event_handler(this); |
if (window_surface_binding_) { |
- root->AttachSurface(mus::mojom::SURFACE_TYPE_DEFAULT, |
+ root->AttachSurface(mus::mojom::SurfaceType::DEFAULT, |
std::move(window_surface_binding_)); |
} |
} |