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

Unified Diff: components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc

Issue 2599673005: arc: Use GET_INTERFACE_FOR_METHOD macro (Closed)
Patch Set: Addressed feedback Created 3 years, 11 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 | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | components/arc/clipboard/arc_clipboard_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
diff --git a/components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc b/components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
index e4af76afec3fd02570d2a38d38850d913fabe717..79a3e7d7e4ea51e109cb385ee0fdee276a4259de 100644
--- a/components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
+++ b/components/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc
@@ -35,8 +35,8 @@ ArcBootPhaseMonitorBridge::~ArcBootPhaseMonitorBridge() {
void ArcBootPhaseMonitorBridge::OnInstanceReady() {
DCHECK(thread_checker_.CalledOnValidThread());
- auto* instance =
- arc_bridge_service()->boot_phase_monitor()->GetInstanceForMethod("Init");
+ auto* instance = ARC_GET_INSTANCE_FOR_METHOD(
+ arc_bridge_service()->boot_phase_monitor(), Init);
DCHECK(instance);
instance->Init(binding_.CreateInterfacePtrAndBind());
}
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | components/arc/clipboard/arc_clipboard_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698