Index: third_party/WebKit/Source/modules/mediasession/MediaSession.idl |
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaSession.idl b/third_party/WebKit/Source/modules/mediasession/MediaSession.idl |
index d42ea6b03019123f9facaa28833332eab0f0868f..235604b3f20f4b98c5470611e3d8e68f8152db2e 100644 |
--- a/third_party/WebKit/Source/modules/mediasession/MediaSession.idl |
+++ b/third_party/WebKit/Source/modules/mediasession/MediaSession.idl |
@@ -6,11 +6,9 @@ |
[ |
Constructor(), |
- ConstructorCallWith=ExecutionContext, |
- RaisesException=Constructor, |
GarbageCollected, |
RuntimeEnabled=MediaSession, |
] interface MediaSession { |
- [CallWith=ScriptState] Promise<void> activate(); |
- [CallWith=ScriptState] Promise<void> deactivate(); |
+ void activate(); |
+ void deactivate(); |
}; |