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

Unified Diff: components/arc/obb_mounter/arc_obb_mounter_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/obb_mounter/arc_obb_mounter_bridge.cc
diff --git a/components/arc/obb_mounter/arc_obb_mounter_bridge.cc b/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
index dc160a46b1630219efba27a9f3ca4f65ccc2fb7b..85a2908f706ce7e4dc9cf7e86588d1fc52ad171c 100644
--- a/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
+++ b/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
@@ -32,7 +32,7 @@ ArcObbMounterBridge::~ArcObbMounterBridge() {
void ArcObbMounterBridge::OnInstanceReady() {
mojom::ObbMounterInstance* obb_mounter_instance =
- arc_bridge_service()->obb_mounter()->GetInstanceForMethod("Init");
+ GET_INSTANCE_FOR_METHOD(arc_bridge_service()->obb_mounter(), Init);
DCHECK(obb_mounter_instance);
obb_mounter_instance->Init(binding_.CreateInterfacePtrAndBind());
}

Powered by Google App Engine
This is Rietveld 408576698