| Index: chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc
|
| diff --git a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc b/chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc
|
| index 899eabdce6547d4b1143e111b0932878530e078c..c250d60dcf418d74f5eb47e275ef615cb49a5016 100644
|
| --- a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc
|
| +++ b/chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/chromeos/arc/gpu_arc_video_service_host.h"
|
|
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| @@ -69,8 +70,9 @@ GpuArcVideoServiceHost::~GpuArcVideoServiceHost() {
|
|
|
| void GpuArcVideoServiceHost::OnInstanceReady() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| - auto* video_instance = arc_bridge_service()->video()->instance();
|
| - DCHECK(video_instance);
|
| + auto* video_instance =
|
| + arc_bridge_service()->video()->GetInstanceForMethod("Init");
|
| + CHECK(video_instance);
|
| video_instance->Init(binding_.CreateInterfacePtrAndBind());
|
| }
|
|
|
|
|