Title: [186127] trunk/Source/WebCore
Revision
186127
Author
[email protected]
Date
2015-06-30 12:53:18 -0700 (Tue, 30 Jun 2015)

Log Message

MediaSession: Use setSessionInternal to set the default media session in HTMLMediaElement's constructor
https://bugs.webkit.org/show_bug.cgi?id=146465

Reviewed by Eric Carlson.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (186126 => 186127)


--- trunk/Source/WebCore/ChangeLog	2015-06-30 19:48:35 UTC (rev 186126)
+++ trunk/Source/WebCore/ChangeLog	2015-06-30 19:53:18 UTC (rev 186127)
@@ -1,5 +1,15 @@
 2015-06-30  Matt Rajca  <[email protected]>
 
+        MediaSession: Use setSessionInternal to set the default media session in HTMLMediaElement's constructor
+        https://bugs.webkit.org/show_bug.cgi?id=146465
+
+        Reviewed by Eric Carlson.
+
+        * html/HTMLMediaElement.cpp:
+        (WebCore::HTMLMediaElement::HTMLMediaElement):
+
+2015-06-30  Matt Rajca  <[email protected]>
+
         Media Session: implement algorithm for updating a media element's session (6.1)
         https://bugs.webkit.org/show_bug.cgi?id=146460
 

Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (186126 => 186127)


--- trunk/Source/WebCore/html/HTMLMediaElement.cpp	2015-06-30 19:48:35 UTC (rev 186126)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp	2015-06-30 19:53:18 UTC (rev 186127)
@@ -411,7 +411,7 @@
 #endif
 
 #if ENABLE(MEDIA_SESSION)
-    m_session = &document.defaultMediaSession();
+    setSessionInternal(document.defaultMediaSession());
 #endif
 
     registerWithDocument(document);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to