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

Unified Diff: chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.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
Index: chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
diff --git a/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc b/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
index 22851d7f20bdd63ef45472eecf602e4b32aadb6d..7134f5fc2a92b38ffde1a225a5df77895d0955fd 100644
--- a/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
+++ b/chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
@@ -72,7 +72,7 @@ GpuArcVideoServiceHost::~GpuArcVideoServiceHost() {
void GpuArcVideoServiceHost::OnInstanceReady() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
auto* video_instance =
- arc_bridge_service()->video()->GetInstanceForMethod("Init");
+ ARC_GET_INSTANCE_FOR_METHOD(arc_bridge_service()->video(), Init);
DCHECK(video_instance);
video_instance->Init(binding_.CreateInterfacePtrAndBind());
}
« no previous file with comments | « chrome/browser/chromeos/arc/tts/arc_tts_service.cc ('k') | chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698