Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.idl

Issue 2534543002: VRDisplay inherits from EventTarget (Closed)
Patch Set: Fix destroy Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRDisplay.idl
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.idl b/third_party/WebKit/Source/modules/vr/VRDisplay.idl
index 7f38e2f0168845b597b858b856d57c7164e0e086..2a00e74454067a232042a7d6d445792280fad8bf 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.idl
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.idl
@@ -9,8 +9,10 @@ enum VREye {
// https://w3c.github.io/webvr/#interface-vrdisplay
[
+ ActiveScriptWrappable,
+ DependentLifetime,
OriginTrialEnabled=WebVR
-] interface VRDisplay {
+] interface VRDisplay : EventTarget {
// An identifier for this device unique across VRDisplays.
readonly attribute unsigned long displayId;

Powered by Google App Engine
This is Rietveld 408576698