| 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 f22271aed3c87278a9b9c727aab1ea0233536996..87c4af098f67081cbac79a9e53176989a9b11844 100644
|
| --- a/chrome/browser/android/vr_shell/vr_compositor.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_compositor.cc
|
| @@ -8,14 +8,13 @@
|
| #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)
|
| - : background_color_(SK_ColorWHITE),
|
| - transparent_(transparent) {
|
| - compositor_.reset(content::Compositor::Create(this, window));
|
| +VrCompositor::VrCompositor(ui::ViewRoot* view_root, bool transparent)
|
| + : background_color_(SK_ColorWHITE), transparent_(transparent) {
|
| + compositor_.reset(content::Compositor::Create(this, view_root));
|
| compositor_->SetHasTransparentBackground(transparent);
|
| }
|
|
|
|
|