Index: components/mus/public/cpp/tests/window_tree_client_private.h |
diff --git a/components/mus/public/cpp/tests/window_tree_client_private.h b/components/mus/public/cpp/tests/window_tree_client_private.h |
index fc76d86fda46031ff75ea3384925f504b8a1f6fb..7cec901b36071e80286c757c64ebedd12f2393cb 100644 |
--- a/components/mus/public/cpp/tests/window_tree_client_private.h |
+++ b/components/mus/public/cpp/tests/window_tree_client_private.h |
@@ -7,6 +7,8 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
namespace ui { |
@@ -34,7 +36,7 @@ class WindowTreeClientPrivate { |
void OnEmbed(mojom::WindowTree* window_tree); |
// Pretends that |event| has been received from the window server. |
- void CallOnWindowInputEvent(Window* window, const ui::Event& event); |
+ void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event); |
private: |
WindowTreeClient* tree_client_impl_; |