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

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: Added a conversion I missed 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
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..dbcc7947383990ef92ea89488829390122f5e6eb 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
@@ -36,7 +36,7 @@ ArcBootPhaseMonitorBridge::~ArcBootPhaseMonitorBridge() {
void ArcBootPhaseMonitorBridge::OnInstanceReady() {
DCHECK(thread_checker_.CalledOnValidThread());
auto* instance =
- arc_bridge_service()->boot_phase_monitor()->GetInstanceForMethod("Init");
+ GET_INSTANCE_FOR_METHOD(arc_bridge_service()->boot_phase_monitor(), Init);
DCHECK(instance);
instance->Init(binding_.CreateInterfacePtrAndBind());
}

Powered by Google App Engine
This is Rietveld 408576698