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

Unified Diff: mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review Created 4 years 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/public/cpp/bindings/tests/interface_ptr_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
index 138a92719cbd7ed6a2f628d85c9c0ed17cdda0a6..1765a0629ae6793ac61cfbe8e549c557ec205bb6 100644
--- a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
@@ -708,7 +708,7 @@ TEST_F(InterfacePtrTest, Fusion) {
// Create another PingTest pipe.
sample::PingTestPtr ptr;
- sample::PingTestRequest request = MakeRequest(&ptr);
+ sample::PingTestRequest request(&ptr);
// Fuse the new pipe to the one hanging off |impl|.
EXPECT_TRUE(FuseInterface(std::move(request), proxy.PassInterface()));
@@ -796,7 +796,7 @@ TEST_F(InterfacePtrTest, InterfaceRequestResetWithReason) {
TEST_F(InterfacePtrTest, CallbackOwnsInterfacePtr) {
sample::PingTestPtr ptr;
- sample::PingTestRequest request = MakeRequest(&ptr);
+ sample::PingTestRequest request(&ptr);
base::RunLoop run_loop;
« no previous file with comments | « mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ('k') | mojo/public/cpp/bindings/tests/pickle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698