Index: sky/tools/tester/tester.cc |
diff --git a/sky/tools/tester/tester.cc b/sky/tools/tester/tester.cc |
index 44d87dd2ad51ef7c176411c519f7cd96dcb65f6f..c71a6f7516079945de27b51f856f81f23e7ba4ee 100644 |
--- a/sky/tools/tester/tester.cc |
+++ b/sky/tools/tester/tester.cc |
@@ -56,6 +56,8 @@ class SkyTester : public mojo::ApplicationDelegate, |
virtual bool ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) override { |
window_manager_app_->ConfigureIncomingConnection(connection); |
+ if (test_runner_) |
eseidel
2014/11/12 03:18:54
Why the null check?
abarth-chromium
2014/11/12 03:19:56
Someone could be connecting while we aren't runnin
abarth-chromium
2014/11/12 03:19:56
Someone could be connecting while we aren't runnin
|
+ connection->AddService(test_runner_->test_harness_factory()); |
return true; |
} |