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..459c4110602a43acab482ca32a0a092122b74d6f 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 = GET_INSTANCE_FOR_METHOD(arc_bridge_service()->file_system(), |
+ RequestMediaScan); |
if (!instance) |
return; |
instance->RequestMediaScan(paths); |