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

Unified Diff: content/renderer/mus/compositor_mus_connection.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 months 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 | « content/renderer/media/midi_dispatcher.cc ('k') | content/renderer/notification_permission_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_));
}
}
« no previous file with comments | « content/renderer/media/midi_dispatcher.cc ('k') | content/renderer/notification_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698