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

Unified Diff: device/power_monitor/public/cpp/power_monitor_broadcast_source.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase 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: device/power_monitor/public/cpp/power_monitor_broadcast_source.cc
diff --git a/device/power_monitor/public/cpp/power_monitor_broadcast_source.cc b/device/power_monitor/public/cpp/power_monitor_broadcast_source.cc
index 28f5bf493781d1675f4231b5f942da3648478278..100b89b213744a037d4b461e8e21b24b76460b82 100644
--- a/device/power_monitor/public/cpp/power_monitor_broadcast_source.cc
+++ b/device/power_monitor/public/cpp/power_monitor_broadcast_source.cc
@@ -15,7 +15,7 @@ PowerMonitorBroadcastSource::PowerMonitorBroadcastSource(
: last_reported_battery_power_state_(false), binding_(this) {
if (interface_provider) {
device::mojom::PowerMonitorPtr power_monitor;
- interface_provider->GetInterface(mojo::GetProxy(&power_monitor));
+ interface_provider->GetInterface(mojo::MakeRequest(&power_monitor));
power_monitor->SetClient(binding_.CreateInterfacePtrAndBind());
}
}
« no previous file with comments | « device/power_monitor/power_monitor_message_broadcaster_unittest.cc ('k') | device/serial/serial_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698