<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[171907] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/171907">171907</a></dd>
<dt>Author</dt> <dd>benjamin@webkit.org</dd>
<dt>Date</dt> <dd>2014-07-31 20:42:47 -0700 (Thu, 31 Jul 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove shadowPseudoId() override from the shadow media controls
https://bugs.webkit.org/show_bug.cgi?id=135474

Patch by Benjamin Poulain &lt;bpoulain@apple.com&gt; on 2014-07-31
Reviewed by Eric Carlson.

Small cleanup.

* html/shadow/MediaControlElementTypes.h:
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlPanelElement::MediaControlPanelElement):
(WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
(WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
(WebCore::MediaControlTimelineContainerElement::MediaControlTimelineContainerElement):
(WebCore::MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement):
(WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement):
(WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement):
(WebCore::MediaControlVolumeSliderMuteButtonElement::MediaControlVolumeSliderMuteButtonElement):
(WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
(WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
(WebCore::MediaControlSeekForwardButtonElement::MediaControlSeekForwardButtonElement):
(WebCore::MediaControlSeekBackButtonElement::MediaControlSeekBackButtonElement):
(WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement):
(WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement):
(WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement):
(WebCore::MediaControlClosedCaptionsContainerElement::MediaControlClosedCaptionsContainerElement):
(WebCore::MediaControlClosedCaptionsTrackListElement::MediaControlClosedCaptionsTrackListElement):
(WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
(WebCore::MediaControlPanelVolumeSliderElement::MediaControlPanelVolumeSliderElement):
(WebCore::MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement):
(WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement):
(WebCore::MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement):
(WebCore::MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement):
(WebCore::MediaControlTimeRemainingDisplayElement::MediaControlTimeRemainingDisplayElement):
(WebCore::MediaControlCurrentTimeDisplayElement::MediaControlCurrentTimeDisplayElement):
(WebCore::MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement):
(WebCore::MediaControlPanelElement::shadowPseudoId): Deleted.
(WebCore::MediaControlPanelEnclosureElement::shadowPseudoId): Deleted.
(WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId): Deleted.
(WebCore::MediaControlTimelineContainerElement::shadowPseudoId): Deleted.
(WebCore::MediaControlVolumeSliderContainerElement::shadowPseudoId): Deleted.
(WebCore::MediaControlStatusDisplayElement::shadowPseudoId): Deleted.
(WebCore::MediaControlPanelMuteButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlPlayButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlSeekBackButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlRewindButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlClosedCaptionsContainerElement::shadowPseudoId): Deleted.
(WebCore::MediaControlClosedCaptionsTrackListElement::shadowPseudoId): Deleted.
(WebCore::MediaControlTimelineElement::shadowPseudoId): Deleted.
(WebCore::MediaControlPanelVolumeSliderElement::shadowPseudoId): Deleted.
(WebCore::MediaControlFullscreenVolumeSliderElement::shadowPseudoId): Deleted.
(WebCore::MediaControlFullscreenButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId): Deleted.
(WebCore::MediaControlTimeRemainingDisplayElement::shadowPseudoId): Deleted.
(WebCore::MediaControlCurrentTimeDisplayElement::shadowPseudoId): Deleted.
(WebCore::MediaControlTextTrackContainerElement::textTrackContainerElementShadowPseudoId): Deleted.
(WebCore::MediaControlTextTrackContainerElement::shadowPseudoId): Deleted.
* html/shadow/MediaControlElements.h:
* html/shadow/MediaControls.cpp:
(WebCore::MediaControls::MediaControls):
(WebCore::MediaControls::shadowPseudoId): Deleted.
* html/shadow/MediaControls.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlElementTypesh">trunk/Source/WebCore/html/shadow/MediaControlElementTypes.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlElementscpp">trunk/Source/WebCore/html/shadow/MediaControlElements.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlElementsh">trunk/Source/WebCore/html/shadow/MediaControlElements.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlscpp">trunk/Source/WebCore/html/shadow/MediaControls.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlsh">trunk/Source/WebCore/html/shadow/MediaControls.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/ChangeLog        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -1,3 +1,73 @@
</span><ins>+2014-07-31  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
+
+        Remove shadowPseudoId() override from the shadow media controls
+        https://bugs.webkit.org/show_bug.cgi?id=135474
+
+        Reviewed by Eric Carlson.
+
+        Small cleanup.
+
+        * html/shadow/MediaControlElementTypes.h:
+        * html/shadow/MediaControlElements.cpp:
+        (WebCore::MediaControlPanelElement::MediaControlPanelElement):
+        (WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
+        (WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
+        (WebCore::MediaControlTimelineContainerElement::MediaControlTimelineContainerElement):
+        (WebCore::MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement):
+        (WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement):
+        (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement):
+        (WebCore::MediaControlVolumeSliderMuteButtonElement::MediaControlVolumeSliderMuteButtonElement):
+        (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
+        (WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
+        (WebCore::MediaControlSeekForwardButtonElement::MediaControlSeekForwardButtonElement):
+        (WebCore::MediaControlSeekBackButtonElement::MediaControlSeekBackButtonElement):
+        (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement):
+        (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement):
+        (WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement):
+        (WebCore::MediaControlClosedCaptionsContainerElement::MediaControlClosedCaptionsContainerElement):
+        (WebCore::MediaControlClosedCaptionsTrackListElement::MediaControlClosedCaptionsTrackListElement):
+        (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
+        (WebCore::MediaControlPanelVolumeSliderElement::MediaControlPanelVolumeSliderElement):
+        (WebCore::MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement):
+        (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement):
+        (WebCore::MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement):
+        (WebCore::MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement):
+        (WebCore::MediaControlTimeRemainingDisplayElement::MediaControlTimeRemainingDisplayElement):
+        (WebCore::MediaControlCurrentTimeDisplayElement::MediaControlCurrentTimeDisplayElement):
+        (WebCore::MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement):
+        (WebCore::MediaControlPanelElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlPanelEnclosureElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlTimelineContainerElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlVolumeSliderContainerElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlStatusDisplayElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlPanelMuteButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlPlayButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlSeekBackButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlRewindButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlClosedCaptionsContainerElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlClosedCaptionsTrackListElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlTimelineElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlPanelVolumeSliderElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlFullscreenVolumeSliderElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlFullscreenButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlTimeRemainingDisplayElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlCurrentTimeDisplayElement::shadowPseudoId): Deleted.
+        (WebCore::MediaControlTextTrackContainerElement::textTrackContainerElementShadowPseudoId): Deleted.
+        (WebCore::MediaControlTextTrackContainerElement::shadowPseudoId): Deleted.
+        * html/shadow/MediaControlElements.h:
+        * html/shadow/MediaControls.cpp:
+        (WebCore::MediaControls::MediaControls):
+        (WebCore::MediaControls::shadowPseudoId): Deleted.
+        * html/shadow/MediaControls.h:
+
</ins><span class="cx"> 2014-07-31  Timothy Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Build fix for platforms where we should have automaticallyAdjustsContentInsets but it isn't public yet
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlElementTypesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControlElementTypes.h (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlElementTypes.h        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/html/shadow/MediaControlElementTypes.h        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -88,7 +88,6 @@
</span><span class="cx">     virtual bool isShowing() const;
</span><span class="cx"> 
</span><span class="cx">     virtual MediaControlElementType displayType() { return m_displayType; }
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const = 0;
</del><span class="cx"> 
</span><span class="cx">     virtual void setMediaController(MediaControllerInterface* controller) { m_mediaController = controller; }
</span><span class="cx">     virtual MediaControllerInterface* mediaController() const { return m_mediaController; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlElementscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.cpp (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlElements.cpp        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.cpp        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">     , m_opaque(true)
</span><span class="cx">     , m_transitionTimer(this, &amp;MediaControlPanelElement::transitionTimerFired)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-panel&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlPanelElement&gt; MediaControlPanelElement::create(Document&amp; document)
</span><span class="lines">@@ -83,12 +83,6 @@
</span><span class="cx">     return adoptRef(new MediaControlPanelElement(document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlPanelElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-panel&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> void MediaControlPanelElement::startDrag(const LayoutPoint&amp; eventLocation)
</span><span class="cx"> {
</span><span class="cx">     if (!m_canBeDragged)
</span><span class="lines">@@ -263,7 +257,7 @@
</span><span class="cx">     // Mapping onto same MediaControlElementType as panel element, since it has similar properties.
</span><span class="cx">     : MediaControlDivElement(document, MediaControlsPanel)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-enclosure&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlPanelEnclosureElement&gt; MediaControlPanelEnclosureElement::create(Document&amp; document)
</span><span class="lines">@@ -271,18 +265,13 @@
</span><span class="cx">     return adoptRef(new MediaControlPanelEnclosureElement(document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlPanelEnclosureElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-enclosure&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement(Document&amp; document)
</span><span class="cx">     // Mapping onto same MediaControlElementType as panel element, since it has similar properties.
</span><span class="cx">     : MediaControlDivElement(document, MediaControlsPanel)
</span><span class="cx"> {
</span><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-overlay-enclosure&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlOverlayEnclosureElement&gt; MediaControlOverlayEnclosureElement::create(Document&amp; document)
</span><span class="lines">@@ -290,18 +279,12 @@
</span><span class="cx">     return adoptRef(new MediaControlOverlayEnclosureElement(document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlOverlayEnclosureElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-overlay-enclosure&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlTimelineContainerElement::MediaControlTimelineContainerElement(Document&amp; document)
</span><span class="cx">     : MediaControlDivElement(document, MediaTimelineContainer)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-timeline-container&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlTimelineContainerElement&gt; MediaControlTimelineContainerElement::create(Document&amp; document)
</span><span class="lines">@@ -311,12 +294,6 @@
</span><span class="cx">     return element.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlTimelineContainerElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-timeline-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> void MediaControlTimelineContainerElement::setTimeDisplaysHidden(bool hidden)
</span><span class="cx"> {
</span><span class="cx">     for (unsigned i = 0; i &lt; childNodeCount(); ++i) {
</span><span class="lines">@@ -346,7 +323,7 @@
</span><span class="cx"> MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement(Document&amp; document)
</span><span class="cx">     : MediaControlDivElement(document, MediaVolumeSliderContainer)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-volume-slider-container&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlVolumeSliderContainerElement&gt; MediaControlVolumeSliderContainerElement::create(Document&amp; document)
</span><span class="lines">@@ -378,19 +355,13 @@
</span><span class="cx">     hide();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlVolumeSliderContainerElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-volume-slider-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlStatusDisplayElement::MediaControlStatusDisplayElement(Document&amp; document)
</span><span class="cx">     : MediaControlDivElement(document, MediaStatusDisplay)
</span><span class="cx">     , m_stateBeingDisplayed(Nothing)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-status-display&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlStatusDisplayElement&gt; MediaControlStatusDisplayElement::create(Document&amp; document)
</span><span class="lines">@@ -433,20 +404,13 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlStatusDisplayElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-status-display&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement(Document&amp; document, MediaControls* controls)
</span><span class="cx">     : MediaControlMuteButtonElement(document, MediaMuteButton)
</span><span class="cx">     , m_controls(controls)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-mute-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlPanelMuteButtonElement&gt; MediaControlPanelMuteButtonElement::create(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -467,18 +431,12 @@
</span><span class="cx">     MediaControlMuteButtonElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlPanelMuteButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-mute-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlVolumeSliderMuteButtonElement::MediaControlVolumeSliderMuteButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlMuteButtonElement(document, MediaMuteButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-volume-slider-mute-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlVolumeSliderMuteButtonElement&gt; MediaControlVolumeSliderMuteButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -489,18 +447,12 @@
</span><span class="cx">     return button.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlVolumeSliderMuteButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-volume-slider-mute-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlPlayButtonElement::MediaControlPlayButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaPlayButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-play-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlPlayButtonElement&gt; MediaControlPlayButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -529,18 +481,12 @@
</span><span class="cx">     setDisplayType(mediaController()-&gt;canPlay() ? MediaPlayButton : MediaPauseButton);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlPlayButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-play-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaOverlayPlayButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-overlay-play-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlOverlayPlayButtonElement&gt; MediaControlOverlayPlayButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -569,19 +515,12 @@
</span><span class="cx">         hide();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlOverlayPlayButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-overlay-play-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlSeekForwardButtonElement::MediaControlSeekForwardButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlSeekButtonElement(document, MediaSeekForwardButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-seek-forward-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlSeekForwardButtonElement&gt; MediaControlSeekForwardButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -592,18 +531,12 @@
</span><span class="cx">     return button.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlSeekForwardButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-seek-forward-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlSeekBackButtonElement::MediaControlSeekBackButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlSeekButtonElement(document, MediaSeekBackButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-seek-back-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlSeekBackButtonElement&gt; MediaControlSeekBackButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -614,18 +547,12 @@
</span><span class="cx">     return button.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlSeekBackButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-seek-back-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlRewindButtonElement::MediaControlRewindButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaRewindButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-rewind-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlRewindButtonElement&gt; MediaControlRewindButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -645,18 +572,12 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlRewindButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-rewind-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaReturnToRealtimeButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-return-to-realtime-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlReturnToRealtimeButtonElement&gt; MediaControlReturnToRealtimeButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -677,12 +598,6 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlReturnToRealtimeButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-return-to-realtime-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -694,7 +609,7 @@
</span><span class="cx"> #if !PLATFORM(COCOA) &amp;&amp; !PLATFORM(WIN) || !PLATFORM(GTK)
</span><span class="cx">     UNUSED_PARAM(controls);
</span><span class="cx"> #endif
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-toggle-closed-captions-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlToggleClosedCaptionsButtonElement&gt; MediaControlToggleClosedCaptionsButtonElement::create(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -735,18 +650,12 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-toggle-closed-captions-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlClosedCaptionsContainerElement::MediaControlClosedCaptionsContainerElement(Document&amp; document)
</span><span class="cx">     : MediaControlDivElement(document, MediaClosedCaptionsContainer)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-closed-captions-container&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlClosedCaptionsContainerElement&gt; MediaControlClosedCaptionsContainerElement::create(Document&amp; document)
</span><span class="lines">@@ -757,12 +666,6 @@
</span><span class="cx">     return element.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlClosedCaptionsContainerElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-closed-captions-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlClosedCaptionsTrackListElement::MediaControlClosedCaptionsTrackListElement(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -774,7 +677,7 @@
</span><span class="cx"> #if !ENABLE(VIDEO_TRACK)
</span><span class="cx">     UNUSED_PARAM(controls);
</span><span class="cx"> #endif
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-closed-captions-track-list&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlClosedCaptionsTrackListElement&gt; MediaControlClosedCaptionsTrackListElement::create(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -821,12 +724,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlClosedCaptionsTrackListElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-closed-captions-track-list&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> void MediaControlClosedCaptionsTrackListElement::updateDisplay()
</span><span class="cx"> {
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="lines">@@ -940,7 +837,7 @@
</span><span class="cx">     : MediaControlInputElement(document, MediaSlider)
</span><span class="cx">     , m_controls(controls)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-timeline&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlTimelineElement&gt; MediaControlTimelineElement::create(Document&amp; document, MediaControls* controls)
</span><span class="lines">@@ -1003,19 +900,12 @@
</span><span class="cx">     setAttribute(maxAttr, AtomicString::number(std::isfinite(duration) ? duration : 0));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-
-const AtomicString&amp; MediaControlTimelineElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-timeline&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlPanelVolumeSliderElement::MediaControlPanelVolumeSliderElement(Document&amp; document)
</span><span class="cx">     : MediaControlVolumeSliderElement(document)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-volume-slider&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlPanelVolumeSliderElement&gt; MediaControlPanelVolumeSliderElement::create(Document&amp; document)
</span><span class="lines">@@ -1028,18 +918,12 @@
</span><span class="cx">     return slider.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlPanelVolumeSliderElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-volume-slider&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement(Document&amp; document)
</span><span class="cx">     : MediaControlVolumeSliderElement(document)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-fullscreen-volume-slider&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlFullscreenVolumeSliderElement&gt; MediaControlFullscreenVolumeSliderElement::create(Document&amp; document)
</span><span class="lines">@@ -1052,18 +936,12 @@
</span><span class="cx">     return slider.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlFullscreenVolumeSliderElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-volume-slider&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaEnterFullscreenButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-fullscreen-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlFullscreenButtonElement&gt; MediaControlFullscreenButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -1097,12 +975,6 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlFullscreenButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> void MediaControlFullscreenButtonElement::setIsFullscreen(bool isFullscreen)
</span><span class="cx"> {
</span><span class="cx">     setDisplayType(isFullscreen ? MediaExitFullscreenButton : MediaEnterFullscreenButton);
</span><span class="lines">@@ -1113,7 +985,7 @@
</span><span class="cx"> MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement(Document&amp; document)
</span><span class="cx">     : MediaControlInputElement(document, MediaUnMuteButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-fullscreen-volume-min-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlFullscreenVolumeMinButtonElement&gt; MediaControlFullscreenVolumeMinButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -1134,18 +1006,12 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-volume-min-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement(Document&amp; document)
</span><span class="cx"> : MediaControlInputElement(document, MediaMuteButton)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls-fullscreen-volume-max-button&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlFullscreenVolumeMaxButtonElement&gt; MediaControlFullscreenVolumeMaxButtonElement::create(Document&amp; document)
</span><span class="lines">@@ -1166,18 +1032,12 @@
</span><span class="cx">     HTMLInputElement::defaultEventHandler(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-volume-max-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlTimeRemainingDisplayElement::MediaControlTimeRemainingDisplayElement(Document&amp; document)
</span><span class="cx">     : MediaControlTimeDisplayElement(document, MediaTimeRemainingDisplay)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(getMediaControlTimeRemainingDisplayElementShadowPseudoId());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlTimeRemainingDisplayElement&gt; MediaControlTimeRemainingDisplayElement::create(Document&amp; document)
</span><span class="lines">@@ -1191,17 +1051,12 @@
</span><span class="cx">     return id;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlTimeRemainingDisplayElement::shadowPseudoId() const
-{
-    return getMediaControlTimeRemainingDisplayElementShadowPseudoId();
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> MediaControlCurrentTimeDisplayElement::MediaControlCurrentTimeDisplayElement(Document&amp; document)
</span><span class="cx">     : MediaControlTimeDisplayElement(document, MediaCurrentTimeDisplay)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(getMediaControlCurrentTimeDisplayElementShadowPseudoId());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlCurrentTimeDisplayElement&gt; MediaControlCurrentTimeDisplayElement::create(Document&amp; document)
</span><span class="lines">@@ -1215,11 +1070,6 @@
</span><span class="cx">     return id;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlCurrentTimeDisplayElement::shadowPseudoId() const
-{
-    return getMediaControlCurrentTimeDisplayElementShadowPseudoId();
-}
-
</del><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="lines">@@ -1231,7 +1081,7 @@
</span><span class="cx">     , m_fontSizeIsImportant(false)
</span><span class="cx">     , m_updateTextTrackRepresentationStyle(false)
</span><span class="cx"> {
</span><del>-    setPseudo(shadowPseudoId());
</del><ins>+    setPseudo(AtomicString(&quot;-webkit-media-text-track-container&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;MediaControlTextTrackContainerElement&gt; MediaControlTextTrackContainerElement::create(Document&amp; document)
</span><span class="lines">@@ -1246,17 +1096,6 @@
</span><span class="cx">     return createRenderer&lt;RenderTextTrackContainerElement&gt;(*this, WTF::move(style));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControlTextTrackContainerElement::textTrackContainerElementShadowPseudoId()
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-text-track-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-    
-const AtomicString&amp; MediaControlTextTrackContainerElement::shadowPseudoId() const
-{
-    return textTrackContainerElementShadowPseudoId();
-}
-
</del><span class="cx"> void MediaControlTextTrackContainerElement::updateDisplay()
</span><span class="cx"> {
</span><span class="cx">     if (!mediaController()-&gt;closedCaptionsVisible())
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlElementsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.h (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlElements.h        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.h        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -57,7 +57,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlPanelElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx">     void startDrag(const LayoutPoint&amp; eventLocation);
</span><span class="lines">@@ -88,7 +87,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlPanelEnclosureElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -99,7 +97,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlOverlayEnclosureElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -112,7 +109,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlTimelineContainerElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> 
</span><span class="cx">     virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) override;
</span><span class="cx"> };
</span><span class="lines">@@ -130,7 +126,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlVolumeSliderContainerElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx">     virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) override;
</span><span class="lines">@@ -146,7 +141,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlStatusDisplayElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> 
</span><span class="cx">     enum StateBeingDisplayed { Nothing, Loading, LiveBroadcast };
</span><span class="cx">     StateBeingDisplayed m_stateBeingDisplayed;
</span><span class="lines">@@ -165,7 +159,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlPanelMuteButtonElement(Document&amp;, MediaControls*);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx">     MediaControls* m_controls;
</span><span class="lines">@@ -179,7 +172,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlVolumeSliderMuteButtonElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="lines">@@ -198,7 +190,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlPlayButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -213,7 +204,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlOverlayPlayButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -225,7 +215,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlSeekForwardButtonElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> 
</span><span class="cx">     virtual bool isForwardButton() const override { return true; }
</span><span class="cx"> };
</span><span class="lines">@@ -238,7 +227,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlSeekBackButtonElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> 
</span><span class="cx">     virtual bool isForwardButton() const override { return false; }
</span><span class="cx"> };
</span><span class="lines">@@ -256,7 +244,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlRewindButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -273,7 +260,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlReturnToRealtimeButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -292,7 +278,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlToggleClosedCaptionsButtonElement(Document&amp;, MediaControls*);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA) || PLATFORM(WIN) || PLATFORM(GTK)
</span><span class="lines">@@ -312,7 +297,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     MediaControlClosedCaptionsContainerElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -332,7 +316,6 @@
</span><span class="cx"> 
</span><span class="cx">     void rebuildTrackListMenu();
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx">     typedef Vector&lt;RefPtr&lt;Element&gt;&gt; TrackMenuItems;
</span><span class="lines">@@ -360,7 +343,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlTimelineElement(Document&amp;, MediaControls*);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> 
</span><span class="cx">     MediaControls* m_controls;
</span><span class="lines">@@ -381,7 +363,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlFullscreenButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -393,7 +374,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlPanelVolumeSliderElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> // ----------------------------
</span><span class="cx"> 
</span><span class="lines">@@ -403,7 +383,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlFullscreenVolumeSliderElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -418,7 +397,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlFullscreenVolumeMinButtonElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -435,7 +413,6 @@
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlFullscreenVolumeMaxButtonElement(Document&amp;);
</span><span class="cx"> 
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual void defaultEventHandler(Event*) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="lines">@@ -448,7 +425,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlTimeRemainingDisplayElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -459,7 +435,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit MediaControlCurrentTimeDisplayElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // ----------------------------
</span><span class="lines">@@ -474,14 +449,12 @@
</span><span class="cx">     void updateSizes(bool forceUpdate = false);
</span><span class="cx">     void enteredFullscreen();
</span><span class="cx">     void exitedFullscreen();
</span><del>-    static const AtomicString&amp; textTrackContainerElementShadowPseudoId();
</del><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     void updateTimerFired(Timer&lt;MediaControlTextTrackContainerElement&gt;&amp;);
</span><span class="cx">     void updateActiveCuesFontSize();
</span><span class="cx"> 
</span><span class="cx">     explicit MediaControlTextTrackContainerElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> 
</span><span class="cx">     virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControls.cpp (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControls.cpp        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/html/shadow/MediaControls.cpp        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -52,6 +52,7 @@
</span><span class="cx">     , m_isFullscreen(false)
</span><span class="cx">     , m_isMouseOverControls(false)
</span><span class="cx"> {
</span><ins>+    setPseudo(AtomicString(&quot;-webkit-media-controls&quot;, AtomicString::ConstructFromLiteral));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void MediaControls::setMediaController(MediaControllerInterface* controller)
</span><span class="lines">@@ -363,12 +364,6 @@
</span><span class="cx">     m_hideFullscreenControlsTimer.stop();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; MediaControls::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls&quot;));
-    return id;
-}
-
</del><span class="cx"> bool MediaControls::containsRelatedTarget(Event* event)
</span><span class="cx"> {
</span><span class="cx">     if (!event-&gt;isMouseEvent())
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/MediaControls.h (171906 => 171907)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControls.h        2014-08-01 02:20:48 UTC (rev 171906)
+++ trunk/Source/WebCore/html/shadow/MediaControls.h        2014-08-01 03:42:47 UTC (rev 171907)
</span><span class="lines">@@ -143,8 +143,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     virtual bool isMediaControls() const override { return true; }
</span><del>-
-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> inline MediaControls* toMediaControls(Node* node)
</span></span></pre>
</div>
</div>

</body>
</html>