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 0352ddf4781c43d240ce43436879151a0845a728..4a375ea27134834773d30d9376fb2b5a58eefc43 100644 |
--- a/mojo/services/native_viewport/native_viewport_service.cc |
+++ b/mojo/services/native_viewport/native_viewport_service.cc |
@@ -6,7 +6,6 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/time/time.h" |
-#include "mojo/common/bindings_support_impl.h" |
#include "mojo/services/gles2/gles2_impl.h" |
#include "mojo/services/native_viewport/native_viewport.h" |
#include "mojom/native_viewport.h" |
@@ -182,15 +181,10 @@ mojo::services::NativeViewportService* |
extern "C" MOJO_NATIVE_VIEWPORT_EXPORT MojoResult MojoMain( |
const MojoHandle shell_handle) { |
- mojo::common::BindingsSupportImpl bindings_support_impl; |
- mojo::BindingsSupport::Set(&bindings_support_impl); |
- |
base::MessageLoopForUI loop; |
mojo::services::NativeViewportService app( |
mojo::MakeScopedHandle(mojo::MessagePipeHandle(shell_handle)).Pass()); |
base::MessageLoop::current()->Run(); |
- |
- mojo::BindingsSupport::Set(NULL); |
return MOJO_RESULT_OK; |
} |