Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: sky/tools/tester/test_harness_impl.cc

Issue 934403002: Remove last uses of InterfaceImpl<> in Sky C++ code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tools/tester/test_harness_impl.h ('k') | sky/tools/tester/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/tester/test_harness_impl.cc
diff --git a/sky/tools/tester/test_harness_impl.cc b/sky/tools/tester/test_harness_impl.cc
index 882aff34f212d06b4cfd5dd23057a1e808580ac2..1ece58c17833178dcb1b968646f610dea64668f7 100644
--- a/sky/tools/tester/test_harness_impl.cc
+++ b/sky/tools/tester/test_harness_impl.cc
@@ -9,8 +9,9 @@
namespace sky {
namespace tester {
-TestHarnessImpl::TestHarnessImpl(TestRunner* test_runner)
- : test_runner_(test_runner->GetWeakPtr()) {
+TestHarnessImpl::TestHarnessImpl(TestRunner* test_runner,
+ mojo::InterfaceRequest<TestHarness> request)
+ : binding_(this, request.Pass()), test_runner_(test_runner->GetWeakPtr()) {
// FIXME: This is technically when the V8 context gets created and
// not when the test is started. An error before we instantiated
// the V8 context would show up before the #BEGIN line for this test.
« no previous file with comments | « sky/tools/tester/test_harness_impl.h ('k') | sky/tools/tester/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698