| Index: chrome/browser/android/vr_shell/vr_shell.cc
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell.cc b/chrome/browser/android/vr_shell/vr_shell.cc
|
| index ab3b67ac4529a57e6708f2c6ea1ef9543128f90a..1a43be9b47ace59b6a423f32964855552595b391 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.cc
|
| @@ -501,7 +501,9 @@ void VrShell::DoUiAction(const UiAction action,
|
|
|
| void VrShell::RenderViewHostChanged(content::RenderViewHost* old_host,
|
| content::RenderViewHost* new_host) {
|
| - new_host->GetWidget()->GetView()->SetBackgroundColor(SK_ColorTRANSPARENT);
|
| + content::RenderWidgetHostView* view = new_host->GetWidget()->GetView();
|
| + view->SetBackgroundColor(SK_ColorTRANSPARENT);
|
| + view->SetIsInVR(true);
|
| }
|
|
|
| void VrShell::MainFrameWasResized(bool width_changed) {
|
|
|