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

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

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Minor fix 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/pickle_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/pickle_unittest.cc b/mojo/public/cpp/bindings/tests/pickle_unittest.cc
index 92a5c133a702f5bf8e9d5772009e55655e2c7eee..39ce6b4bf311c0508e2315b7f2453a649d0aceec 100644
--- a/mojo/public/cpp/bindings/tests/pickle_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/pickle_unittest.cc
@@ -160,7 +160,7 @@ class PickleTest : public testing::Test {
template <typename ProxyType = PicklePasser>
InterfacePtr<ProxyType> ConnectToChromiumService() {
InterfacePtr<ProxyType> proxy;
- InterfaceRequest<ProxyType> request = MakeRequest(&proxy);
+ InterfaceRequest<ProxyType> request(&proxy);
chromium_bindings_.AddBinding(
&chromium_service_,
ConvertInterfaceRequest<PicklePasser>(std::move(request)));
@@ -170,7 +170,7 @@ class PickleTest : public testing::Test {
template <typename ProxyType = blink::PicklePasser>
InterfacePtr<ProxyType> ConnectToBlinkService() {
InterfacePtr<ProxyType> proxy;
- InterfaceRequest<ProxyType> request = MakeRequest(&proxy);
+ InterfaceRequest<ProxyType> request(&proxy);
blink_bindings_.AddBinding(
&blink_service_,
ConvertInterfaceRequest<blink::PicklePasser>(std::move(request)));

Powered by Google App Engine
This is Rietveld 408576698