Index: components/web_view/frame_connection.cc |
diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc |
index 9d91ea527a5329eafae731c685c2209f87b074e3..7dadb5d4b71cea0a36400bcced533c84caeb7d5c 100644 |
--- a/components/web_view/frame_connection.cc |
+++ b/components/web_view/frame_connection.cc |
@@ -11,6 +11,7 @@ |
#include "components/view_manager/public/interfaces/gpu.mojom.h" |
#include "components/view_manager/public/interfaces/view_tree_host.mojom.h" |
#include "components/web_view/frame_tree.h" |
+#include "components/web_view/test_runner/public/interfaces/layout_test_runner.mojom.h" |
#include "mojo/application/public/cpp/application_connection.h" |
#include "mojo/application/public/cpp/application_impl.h" |
#include "mojo/services/network/public/interfaces/cookie_store.mojom.h" |
@@ -94,6 +95,11 @@ void FrameConnection::Init(mojo::ApplicationImpl* app, |
view_manager_interfaces.push_back(mojo::ViewTreeHostFactory::Name_); |
filter->filter.insert("mojo:view_manager", view_manager_interfaces.Pass()); |
+ mojo::Array<mojo::String> test_runner_interfaces; |
+ test_runner_interfaces.push_back(LayoutTestRunner::Name_); |
+ filter->filter.insert("mojo:web_view_test_runner", |
+ test_runner_interfaces.Pass()); |
+ |
#if defined(OS_LINUX) && !defined(OS_ANDROID) |
mojo::Array<mojo::String> font_service_interfaces; |
font_service_interfaces.push_back(font_service::FontService::Name_); |