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

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

Issue 629523003: Rename Get to GetProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix device Created 6 years, 2 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 | « mojo/public/cpp/bindings/interface_request.h ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
index d4cffb4ce13ecce2e21de0a492cc1b6d7bef6a63..e817f1fb8928bfe66902773031b9e497fd0d9d58 100644
--- a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
@@ -321,7 +321,7 @@ TEST_F(HandlePassingTest, CreateNamedObject) {
sample::NamedObjectPtr object1;
EXPECT_FALSE(object1);
- InterfaceRequest<sample::NamedObject> object1_request = Get(&object1);
+ InterfaceRequest<sample::NamedObject> object1_request = GetProxy(&object1);
EXPECT_TRUE(object1_request.is_pending());
factory->CreateNamedObject(object1_request.Pass());
EXPECT_FALSE(object1_request.is_pending()); // We've passed the request.
@@ -330,7 +330,7 @@ TEST_F(HandlePassingTest, CreateNamedObject) {
object1->SetName("object1");
sample::NamedObjectPtr object2;
- factory->CreateNamedObject(Get(&object2));
+ factory->CreateNamedObject(GetProxy(&object2));
object2->SetName("object2");
std::string name1;
« no previous file with comments | « mojo/public/cpp/bindings/interface_request.h ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698