Index: mojo/services/native_viewport/native_viewport_service.cc |
diff --git a/mojo/services/native_viewport/native_viewport_service.cc b/mojo/services/native_viewport/native_viewport_service.cc |
index 30e37b71ea82100359de696ee3df7d683188a861..b9c5a8294bfc24aea39eb9a224fd3f370baeb2a6 100644 |
--- a/mojo/services/native_viewport/native_viewport_service.cc |
+++ b/mojo/services/native_viewport/native_viewport_service.cc |
@@ -9,7 +9,7 @@ |
#include "base/time/time.h" |
#include "mojo/geometry/geometry_type_converters.h" |
#include "mojo/public/cpp/bindings/allocation_scope.h" |
-#include "mojo/public/interfaces/shell/shell.mojom.h" |
+#include "mojo/public/interfaces/service_provider/service_provider.mojom.h" |
#include "mojo/services/gles2/command_buffer_impl.h" |
#include "mojo/services/native_viewport/native_viewport.h" |
#include "mojo/services/native_viewport/native_viewport.mojom.h" |
@@ -186,9 +186,11 @@ class NativeViewportImpl |
MOJO_NATIVE_VIEWPORT_EXPORT mojo::Application* |
- CreateNativeViewportService(mojo::shell::Context* context, |
- mojo::ScopedMessagePipeHandle shell_handle) { |
- mojo::Application* app = new mojo::Application(shell_handle.Pass()); |
+ CreateNativeViewportService( |
+ mojo::shell::Context* context, |
+ mojo::ScopedMessagePipeHandle service_provider_handle) { |
+ mojo::Application* app = new mojo::Application( |
+ service_provider_handle.Pass()); |
app->AddService<mojo::services::NativeViewportImpl>(context); |
return app; |
} |