Index: core/html/HTMLMediaElement.idl |
diff --git a/core/html/HTMLMediaElement.idl b/core/html/HTMLMediaElement.idl |
index 5db5f75823688df9f5efad207428ae783887dddb..10ebf8a6142215460a92d49c2515f87089a7d849 100644 |
--- a/core/html/HTMLMediaElement.idl |
+++ b/core/html/HTMLMediaElement.idl |
@@ -97,9 +97,7 @@ readonly attribute unsigned long webkitVideoDecodedByteCount; |
[EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeymessage; |
[EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitneedkey; |
-#if defined(ENABLE_ENCRYPTED_MEDIA_V2) && ENABLE_ENCRYPTED_MEDIA_V2 |
-[EnabledAtRuntime=encryptedMedia] attribute MediaKeys mediaKeys; |
-#endif |
+[EnabledAtRuntime=encryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute MediaKeys mediaKeys; |
[EnabledAtRuntime=videoTrack, RaisesException] TextTrack addTextTrack(DOMString kind, optional DOMString label, optional DOMString language); |
[EnabledAtRuntime=videoTrack] readonly attribute TextTrackList textTracks; |