| Index: chrome/browser/chromeos/file_manager/arc_file_tasks.cc
|
| diff --git a/chrome/browser/chromeos/file_manager/arc_file_tasks.cc b/chrome/browser/chromeos/file_manager/arc_file_tasks.cc
|
| index ebb52da72e5f1b4b09c95c9651ca2f899642688b..33bd05d1fff823287fc90ad6594196360e3980da 100644
|
| --- a/chrome/browser/chromeos/file_manager/arc_file_tasks.cc
|
| +++ b/chrome/browser/chromeos/file_manager/arc_file_tasks.cc
|
| @@ -59,20 +59,8 @@ arc::mojom::IntentHelperInstance* GetArcIntentHelper(Profile* profile,
|
| if (!chromeos::ProfileHelper::IsPrimaryProfile(profile))
|
| return nullptr;
|
|
|
| - arc::ArcBridgeService* arc_service = arc::ArcBridgeService::Get();
|
| - if (!arc_service)
|
| - return nullptr;
|
| -
|
| - arc::mojom::IntentHelperInstance* intent_helper_instance =
|
| - arc_service->intent_helper()->instance();
|
| - if (!intent_helper_instance)
|
| - return nullptr;
|
| -
|
| - if (arc_service->intent_helper()->version() < min_version) {
|
| - DLOG(WARNING) << "ARC intent helper instance is too old.";
|
| - return nullptr;
|
| - }
|
| - return intent_helper_instance;
|
| + return arc::ArcIntentHelperBridge::GetIntentHelperInstance(min_version,
|
| + nullptr);
|
| }
|
|
|
| // Returns the icon loader that wraps the Mojo interface for ARC Intent Helper.
|
|
|