Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
index 3701006c9fe5ce2bd149e314f54818832022ef47..0bcd097271c1b3e2de178d47dcf30d47fa32c876 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
@@ -116,6 +116,11 @@ void HTMLIFrameElement::parseAttribute(const QualifiedName& name, const AtomicSt |
m_allowFullscreen = !value.isNull(); |
if (m_allowFullscreen != oldAllowFullscreen) |
frameOwnerPropertiesChanged(); |
+ } else if (name == allowvrAttr) { |
+ bool oldAllowVR = m_allowVR; |
+ m_allowVR = !value.isNull(); |
+ if (m_allowVR != oldAllowVR) |
+ frameOwnerPropertiesChanged(); |
} else if (name == permissionsAttr) { |
if (initializePermissionsAttribute()) |
m_permissions->setValue(value); |