Index: components/arc/input/arc_input_bridge_impl.cc |
diff --git a/components/arc/input/arc_input_bridge_impl.cc b/components/arc/input/arc_input_bridge_impl.cc |
index e24aeb866a3364df9fdb6f71be737cf6c328fe64..494fbe9ad403c47bf86351b37986ad16853e5bd5 100644 |
--- a/components/arc/input/arc_input_bridge_impl.cc |
+++ b/components/arc/input/arc_input_bridge_impl.cc |
@@ -15,7 +15,8 @@ |
#include "base/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "components/arc/arc_bridge_service.h" |
-#include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
+#include "mojo/edk/embedder/embedder.h" |
+#include "mojo/edk/embedder/scoped_platform_handle.h" |
#include "ui/aura/env.h" |
#include "ui/aura/env_observer.h" |
#include "ui/aura/window.h" |
@@ -353,9 +354,9 @@ base::ScopedFD ArcInputBridgeImpl::CreateBridgeInputDevice( |
return base::ScopedFD(); |
} |
MojoHandle wrapped_handle; |
- MojoResult wrap_result = mojo::embedder::CreatePlatformHandleWrapper( |
- mojo::embedder::ScopedPlatformHandle( |
- mojo::embedder::PlatformHandle(read_fd.release())), |
+ MojoResult wrap_result = mojo::edk::CreatePlatformHandleWrapper( |
+ mojo::edk::ScopedPlatformHandle( |
+ mojo::edk::PlatformHandle(read_fd.release())), |
&wrapped_handle); |
if (wrap_result != MOJO_RESULT_OK) { |
LOG(WARNING) << "Pipe failed to wrap handles. Closing: " << wrap_result; |