Chromium Code Reviews| Index: chrome/browser/android/vr_shell/vr_shell_gl.cc |
| diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.cc b/chrome/browser/android/vr_shell/vr_shell_gl.cc |
| index c0210b93c8f98dc21ea8228412b3e9cfbd978938..3ad089d3a949100585e4d9a31b42ff2fee83d26c 100644 |
| --- a/chrome/browser/android/vr_shell/vr_shell_gl.cc |
| +++ b/chrome/browser/android/vr_shell/vr_shell_gl.cc |
| @@ -4,6 +4,7 @@ |
| #include "chrome/browser/android/vr_shell/vr_shell_gl.h" |
| +#include <chrono> |
|
bajones
2017/03/21 15:44:24
Not clear what this is needed for.
acondor_
2017/03/21 19:31:30
Function 'TimeInMicroseconds' uses chrono. It comp
|
| #include <limits> |
| #include <utility> |
| @@ -187,7 +188,7 @@ VrShellGl::~VrShellGl() { |
| } |
| void VrShellGl::Initialize() { |
| - scene_.reset(new UiScene); |
| + scene_ = base::MakeUnique<UiScene>(); |
| if (surfaceless_rendering_) { |
| // If we're rendering surfaceless, we'll never get a java surface to render |