Index: mojo/examples/aura_demo/window_tree_host_mojo.h |
diff --git a/mojo/examples/aura_demo/window_tree_host_mojo.h b/mojo/examples/aura_demo/window_tree_host_mojo.h |
index 3514d1e35c964a310bb74cb610a966a90f2d247e..e0c52e53b9fed119a333cf8ea4981b945c726429 100644 |
--- a/mojo/examples/aura_demo/window_tree_host_mojo.h |
+++ b/mojo/examples/aura_demo/window_tree_host_mojo.h |
@@ -6,7 +6,6 @@ |
#define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_MOJO_H_ |
#include "base/bind.h" |
-#include "mojo/public/cpp/bindings/remote_ptr.h" |
#include "mojo/services/native_viewport/native_viewport.mojom.h" |
#include "ui/aura/window_tree_host.h" |
#include "ui/events/event_source.h" |
@@ -23,7 +22,7 @@ class WindowTreeHostMojo : public aura::WindowTreeHost, |
public ui::EventSource, |
public NativeViewportClient { |
public: |
- WindowTreeHostMojo(ScopedNativeViewportHandle viewport_handle, |
+ WindowTreeHostMojo(NativeViewportPtr viewport, |
const gfx::Rect& bounds, |
const base::Callback<void()>& compositor_created_callback); |
virtual ~WindowTreeHostMojo(); |
@@ -61,7 +60,7 @@ class WindowTreeHostMojo : public aura::WindowTreeHost, |
static ui::ContextFactory* context_factory_; |
ScopedMessagePipeHandle gles2_handle_; |
- RemotePtr<NativeViewport> native_viewport_; |
+ NativeViewportPtr native_viewport_; |
base::Callback<void()> compositor_created_callback_; |
gfx::Rect bounds_; |