| Index: chrome/browser/memory/tab_manager_delegate_chromeos.cc
|
| diff --git a/chrome/browser/memory/tab_manager_delegate_chromeos.cc b/chrome/browser/memory/tab_manager_delegate_chromeos.cc
|
| index 0ca9a0149a404065da6ed040e872e29a4403e8a0..f25d392998849b9db5292326c9b1e73122a4869f 100644
|
| --- a/chrome/browser/memory/tab_manager_delegate_chromeos.cc
|
| +++ b/chrome/browser/memory/tab_manager_delegate_chromeos.cc
|
| @@ -64,8 +64,6 @@ const char kArcProcessNamePrefix[] = "org.chromium.arc.";
|
| // a little while before doing the adjustment.
|
| const int kFocusedProcessScoreAdjustIntervalMs = 500;
|
|
|
| -const uint32_t kMinVersionForKillProcess = 1;
|
| -
|
| aura::client::ActivationClient* GetActivationClient() {
|
| if (!ash::Shell::HasInstance())
|
| return nullptr;
|
| @@ -550,10 +548,8 @@ bool TabManagerDelegate::KillArcProcess(const int nspid) {
|
| if (!arc_service_manager)
|
| return false;
|
|
|
| - auto* arc_process_instance =
|
| - arc_service_manager->arc_bridge_service()
|
| - ->process()
|
| - ->GetInstanceForMethod("KillProcess", kMinVersionForKillProcess);
|
| + auto* arc_process_instance = ARC_GET_INSTANCE_FOR_METHOD(
|
| + arc_service_manager->arc_bridge_service()->process(), KillProcess);
|
| if (!arc_process_instance)
|
| return false;
|
|
|
|
|