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..81173a8b225e102b033ac47e04e4a9f8189e5fcb 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,8 @@ 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, |
+ const std::unique_ptr<ui::Event>& event); |
private: |
WindowTreeClient* tree_client_impl_; |