Index: chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc |
diff --git a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc |
index ea12672b39f40ff8159b651790085e0237f2789a..7dfc420450e5c38bb353f392f156670a6b3aef8b 100644 |
--- a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc |
+++ b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc |
@@ -360,8 +360,8 @@ void ArcDownloadsWatcherService::OnDownloadsChanged( |
const std::vector<std::string>& paths) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- auto* instance = arc_bridge_service()->file_system()->GetInstanceForMethod( |
- "RequestMediaScan"); |
+ auto* instance = ARC_GET_INSTANCE_FOR_METHOD( |
+ arc_bridge_service()->file_system(), RequestMediaScan); |
if (!instance) |
return; |
instance->RequestMediaScan(paths); |