Index: components/html_viewer/ax_provider_apptest.cc |
diff --git a/components/html_viewer/ax_provider_apptest.cc b/components/html_viewer/ax_provider_apptest.cc |
index cda4538b8ba7c8d4ff51a183fb905db208278f4a..d6af04c6162f76dd86411e57dbf9427277ec85e1 100644 |
--- a/components/html_viewer/ax_provider_apptest.cc |
+++ b/components/html_viewer/ax_provider_apptest.cc |
@@ -7,6 +7,7 @@ |
#include "base/run_loop.h" |
#include "base/strings/stringprintf.h" |
#include "base/test/test_timeouts.h" |
+#include "base/time/time.h" |
#include "components/mus/public/cpp/tests/view_manager_test_base.h" |
#include "components/mus/public/cpp/view.h" |
#include "components/mus/public/cpp/view_tree_connection.h" |
@@ -102,9 +103,10 @@ TEST_F(AXProviderTest, HelloWorld) { |
web_view::mojom::FrameClientPtr frame_client; |
connection->ConnectToService(&frame_client); |
- frame_client->OnConnect(frame_ptr.Pass(), 1u, embed_view->id(), |
- web_view::mojom::VIEW_CONNECT_TYPE_USE_NEW, |
- array.Pass(), base::Closure()); |
+ frame_client->OnConnect( |
+ frame_ptr.Pass(), 1u, embed_view->id(), |
+ web_view::mojom::VIEW_CONNECT_TYPE_USE_NEW, array.Pass(), |
+ base::TimeTicks::Now().ToInternalValue(), base::Closure()); |
// Connect to the AxProvider of the HTML document and get the AxTree. |
AxProviderPtr ax_provider; |