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

Unified Diff: mojo/runner/shell_test_base.h

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge IPC fixes Created 5 years, 7 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
Index: mojo/runner/shell_test_base.h
diff --git a/mojo/runner/shell_test_base.h b/mojo/runner/shell_test_base.h
index 4a93a093624852abbaccb2de5ebf19a433e08fd0..f7471ae9d0d4ae89720e342fd8e29e61f1bb9024 100644
--- a/mojo/runner/shell_test_base.h
+++ b/mojo/runner/shell_test_base.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
+#include "mojo/public/cpp/bindings/interface_ptr_info.h"
#include "mojo/public/cpp/system/core.h"
#include "mojo/runner/context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -36,7 +37,8 @@ class ShellTestBase : public testing::Test {
template <typename Interface>
void ConnectToService(const GURL& application_url,
InterfacePtr<Interface>* ptr) {
- ptr->Bind(ConnectToService(application_url, Interface::Name_).Pass());
+ ptr->Bind(InterfacePtrInfo<Interface>(
+ ConnectToService(application_url, Interface::Name_).Pass(), 0u));
}
base::MessageLoop* message_loop() { return &message_loop_; }

Powered by Google App Engine
This is Rietveld 408576698