| Index: chrome/browser/android/vr_shell/vr_shell.h
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
|
| index 1837b884cc58f59d80331f350fc4c987a9925632..c120f7dcaf71fd8096ade70b3f532f66e0ae860b 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.h
|
| @@ -166,7 +166,9 @@ class VrShell : public device::PresentingGvrDelegate,
|
|
|
| private:
|
| ~VrShell() override;
|
| - void PostToGlThreadWhenReady(const base::Closure& task);
|
| + void WaitForGlThread();
|
| + void PostToGlThread(const tracked_objects::Location& from_here,
|
| + const base::Closure& task);
|
| void SetUiState();
|
|
|
| // device::GvrDelegate implementation.
|
| @@ -214,6 +216,7 @@ class VrShell : public device::PresentingGvrDelegate,
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
|
| std::unique_ptr<VrGLThread> gl_thread_;
|
| + bool thread_started_ = false;
|
| UiInterface* ui_;
|
| bool reprojected_rendering_;
|
|
|
|
|