Index: chrome/browser/android/chrome_jni_registrar.cc |
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc |
index 535fce35f1a5b9843af80bddd92c089779c50795..abf0db463a76d5495a223bbd46f9b5a09e7c729f 100644 |
--- a/chrome/browser/android/chrome_jni_registrar.cc |
+++ b/chrome/browser/android/chrome_jni_registrar.cc |
@@ -176,7 +176,7 @@ |
#include "printing/printing_context_android.h" |
#endif |
-#if defined(ENABLE_VR_SHELL) |
+#if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) |
#include "chrome/browser/android/vr_shell/vr_shell.h" |
#include "chrome/browser/android/vr_shell/vr_shell_delegate.h" |
#endif |
@@ -380,7 +380,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = { |
{"UsbChooserDialogAndroid", UsbChooserDialogAndroid::Register}, |
{"Variations", variations::android::RegisterVariations}, |
{"VariationsSession", chrome::android::RegisterVariationsSession}, |
-#if defined(ENABLE_VR_SHELL) |
+#if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) |
{"VrShell", vr_shell::RegisterVrShell}, |
{"VrShellDelegate", vr_shell::RegisterVrShellDelegate}, |
#endif |