| Index: chrome/browser/android/vr_shell/vr_compositor.cc
|
| diff --git a/chrome/browser/android/vr_shell/vr_compositor.cc b/chrome/browser/android/vr_shell/vr_compositor.cc
|
| index 882236f53d8c54bc360732be0577f7ce87a000b4..3d3ce4509aeee9a2ea55cd3b8c5042fcf84c973a 100644
|
| --- a/chrome/browser/android/vr_shell/vr_compositor.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_compositor.cc
|
| @@ -8,14 +8,14 @@
|
| #include "content/public/browser/android/compositor.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| -#include "ui/android/window_android.h"
|
| +#include "ui/android/view_android.h"
|
|
|
| namespace vr_shell {
|
|
|
| -VrCompositor::VrCompositor(ui::WindowAndroid* window, bool transparent)
|
| +VrCompositor::VrCompositor(ui::ViewRoot* view_root, bool transparent)
|
| : background_color_(SK_ColorWHITE),
|
| transparent_(transparent) {
|
| - compositor_.reset(content::Compositor::Create(this, window));
|
| + compositor_.reset(content::Compositor::Create(this, view_root));
|
| compositor_->SetHasTransparentBackground(transparent);
|
| }
|
|
|
|
|