| Index: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| index 0f77bac3a8720683f42e4b455d0f651048ec52d8..51c48a4d820c67f250d8727f0a238473accb06ce 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| @@ -287,11 +287,11 @@ public class VrShellDelegate {
|
| }
|
| // TODO(mthiesse): When we have VR UI for opening new tabs, etc., allow VR Shell to be
|
| // entered without any current tabs.
|
| - if (tab == null || tab.getContentViewCore() == null) {
|
| + if (tab == null) {
|
| return false;
|
| }
|
| - // For now we don't handle native pages. crbug.com/661609
|
| - if (tab.getNativePage() != null || tab.isShowingSadTab()) {
|
| + // For now we don't handle sad tab page. crbug.com/661609
|
| + if (tab.isShowingSadTab()) {
|
| return false;
|
| }
|
| // crbug.com/667781
|
|
|