| Index: chrome/browser/android/vr_shell/vr_gl_thread.cc
|
| diff --git a/chrome/browser/android/vr_shell/vr_gl_thread.cc b/chrome/browser/android/vr_shell/vr_gl_thread.cc
|
| index 80bbc9a1137b106e285b0a25939471b8794d85f6..ea41c149f273c1d77099523750c4f2ae8de739e7 100644
|
| --- a/chrome/browser/android/vr_shell/vr_gl_thread.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_gl_thread.cc
|
| @@ -21,14 +21,16 @@ VrGLThread::VrGLThread(
|
| gvr_context* gvr_api,
|
| bool initially_web_vr,
|
| bool in_cct,
|
| - bool reprojected_rendering)
|
| + bool reprojected_rendering,
|
| + bool daydream_support)
|
| : base::Thread("VrShellGL"),
|
| weak_vr_shell_(weak_vr_shell),
|
| main_thread_task_runner_(std::move(main_thread_task_runner)),
|
| gvr_api_(gvr_api),
|
| initially_web_vr_(initially_web_vr),
|
| in_cct_(in_cct),
|
| - reprojected_rendering_(reprojected_rendering) {}
|
| + reprojected_rendering_(reprojected_rendering),
|
| + daydream_support_(daydream_support) {}
|
|
|
| VrGLThread::~VrGLThread() {
|
| Stop();
|
| @@ -36,8 +38,9 @@ VrGLThread::~VrGLThread() {
|
|
|
| void VrGLThread::Init() {
|
| scene_ = base::MakeUnique<UiScene>();
|
| - vr_shell_gl_ = base::MakeUnique<VrShellGl>(
|
| - this, gvr_api_, initially_web_vr_, reprojected_rendering_, scene_.get());
|
| + vr_shell_gl_ = base::MakeUnique<VrShellGl>(this, gvr_api_, initially_web_vr_,
|
| + reprojected_rendering_,
|
| + daydream_support_, scene_.get());
|
| scene_manager_ = base::MakeUnique<UiSceneManager>(this, scene_.get(), in_cct_,
|
| initially_web_vr_);
|
|
|
|
|