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

Unified Diff: third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h

Issue 1420223002: Disallow assigning a MediaSession after the resource has been selected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull expected file from the bots Created 5 years, 2 months 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/mediasession/HTMLMediaElementMediaSession.h
diff --git a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h
index 2d1c57108b225601b0cf4c6dc60fe5d0fb45cdcf..c30ce8647935f9b39e4ba7045c899eacdcfac796 100644
--- a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h
+++ b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h
@@ -20,7 +20,7 @@ class HTMLMediaElementMediaSession final : public NoBaseWillBeGarbageCollected<H
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(HTMLMediaElementMediaSession);
public:
static MediaSession* session(HTMLMediaElement&);
- static void setSession(HTMLMediaElement&, MediaSession*);
+ static void setSession(HTMLMediaElement&, MediaSession*, ExceptionState&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698