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

Unified Diff: device/serial/serial_service_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 | « device/serial/serial_connection_unittest.cc ('k') | mojo/examples/compositor_app/compositor_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_service_unittest.cc
diff --git a/device/serial/serial_service_unittest.cc b/device/serial/serial_service_unittest.cc
index a02d075df7adae441ee1afbfd7b455197bd4e13f..c24fa18dd28ed3acdfc4424e6c2fb8c39ad1cc85 100644
--- a/device/serial/serial_service_unittest.cc
+++ b/device/serial/serial_service_unittest.cc
@@ -86,9 +86,9 @@ class SerialServiceTest : public testing::Test, public mojo::ErrorHandler {
mojo::InterfacePtr<serial::DataSource> source;
service->Connect(path,
serial::ConnectionOptions::New(),
- mojo::Get(&connection),
- mojo::Get(&sink),
- mojo::Get(&source));
+ mojo::GetProxy(&connection),
+ mojo::GetProxy(&sink),
+ mojo::GetProxy(&source));
connection.set_error_handler(this);
expecting_error_ = !expecting_success;
connection->GetInfo(
@@ -113,7 +113,7 @@ class SerialServiceTest : public testing::Test, public mojo::ErrorHandler {
TEST_F(SerialServiceTest, GetDevices) {
mojo::InterfacePtr<serial::SerialService> service;
- SerialServiceImpl::Create(NULL, mojo::Get(&service));
+ SerialServiceImpl::Create(NULL, mojo::GetProxy(&service));
service.set_error_handler(this);
mojo::Array<serial::DeviceInfoPtr> result;
service->GetDevices(
« no previous file with comments | « device/serial/serial_connection_unittest.cc ('k') | mojo/examples/compositor_app/compositor_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698