<!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>[171972] 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/171972">171972</a></dd>
<dt>Author</dt> <dd>benjamin@webkit.org</dd>
<dt>Date</dt> <dd>2014-08-02 13:51:12 -0700 (Sat, 02 Aug 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update the SearchFieldResultsButtonElement shadow Pseudo Id when HTMLInputElement's maxResults change
https://bugs.webkit.org/show_bug.cgi?id=135491

Patch by Benjamin Poulain &lt;bpoulain@apple.com&gt; on 2014-08-02
Reviewed by Ryosuke Niwa.

Replace the shadowPseudoId() override + manual style invalidation by the generic pseudo ID update.

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseAttribute):
* html/InputType.cpp:
(WebCore::InputType::maxResultsAttributeChanged):
* html/InputType.h:
* html/SearchInputType.cpp:
(WebCore::SearchInputType::SearchInputType):
(WebCore::updateResultButtonPseudoType):
(WebCore::SearchInputType::maxResultsAttributeChanged):
(WebCore::SearchInputType::createShadowSubtree):
(WebCore::SearchInputType::destroyShadowSubtree):
* html/SearchInputType.h:
* html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldResultsButtonElement::shadowPseudoId): Deleted.
* html/shadow/TextControlInnerElements.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementcpp">trunk/Source/WebCore/html/HTMLInputElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlInputTypecpp">trunk/Source/WebCore/html/InputType.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlInputTypeh">trunk/Source/WebCore/html/InputType.h</a></li>
<li><a href="#trunkSourceWebCorehtmlSearchInputTypecpp">trunk/Source/WebCore/html/SearchInputType.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlSearchInputTypeh">trunk/Source/WebCore/html/SearchInputType.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementscpp">trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementsh">trunk/Source/WebCore/html/shadow/TextControlInnerElements.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/ChangeLog        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,5 +1,30 @@
</span><span class="cx"> 2014-08-02  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Update the SearchFieldResultsButtonElement shadow Pseudo Id when HTMLInputElement's maxResults change
+        https://bugs.webkit.org/show_bug.cgi?id=135491
+
+        Reviewed by Ryosuke Niwa.
+
+        Replace the shadowPseudoId() override + manual style invalidation by the generic pseudo ID update.
+
+        * html/HTMLInputElement.cpp:
+        (WebCore::HTMLInputElement::parseAttribute):
+        * html/InputType.cpp:
+        (WebCore::InputType::maxResultsAttributeChanged):
+        * html/InputType.h:
+        * html/SearchInputType.cpp:
+        (WebCore::SearchInputType::SearchInputType):
+        (WebCore::updateResultButtonPseudoType):
+        (WebCore::SearchInputType::maxResultsAttributeChanged):
+        (WebCore::SearchInputType::createShadowSubtree):
+        (WebCore::SearchInputType::destroyShadowSubtree):
+        * html/SearchInputType.h:
+        * html/shadow/TextControlInnerElements.cpp:
+        (WebCore::SearchFieldResultsButtonElement::shadowPseudoId): Deleted.
+        * html/shadow/TextControlInnerElements.h:
+
+2014-08-02  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
+
</ins><span class="cx">         Add warnings for the buggy implementations of shadowPseudoId()
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=135477
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.cpp        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -2,7 +2,7 @@
</span><span class="cx">  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
</span><span class="cx">  *           (C) 1999 Antti Koivisto (koivisto@kde.org)
</span><span class="cx">  *           (C) 2001 Dirk Mueller (mueller@kde.org)
</span><del>- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  *           (C) 2006 Alexey Proskuryakov (ap@nypop.com)
</span><span class="cx">  * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><span class="lines">@@ -677,13 +677,8 @@
</span><span class="cx">         // Search field and slider attributes all just cause updateFromElement to be called through style recalcing.
</span><span class="cx">         setAttributeEventListener(eventNames().searchEvent, name, value);
</span><span class="cx">     } else if (name == resultsAttr) {
</span><del>-        int oldResults = m_maxResults;
</del><span class="cx">         m_maxResults = !value.isNull() ? std::min(value.toInt(), maxSavedResults) : -1;
</span><del>-
-        if (m_maxResults != oldResults &amp;&amp; (m_maxResults &lt;= 0 || oldResults &lt;= 0))
-            setNeedsStyleRecalc(ReconstructRenderTree);
-        else
-            setNeedsStyleRecalc();
</del><ins>+        m_inputType-&gt;maxResultsAttributeChanged();
</ins><span class="cx">     } else if (name == autosaveAttr) {
</span><span class="cx">         setNeedsStyleRecalc();
</span><span class="cx">     } else if (name == incrementalAttr) {
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlInputTypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/InputType.cpp (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/InputType.cpp        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/InputType.cpp        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -2,7 +2,7 @@
</span><span class="cx">  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
</span><span class="cx">  *           (C) 1999 Antti Koivisto (koivisto@kde.org)
</span><span class="cx">  *           (C) 2001 Dirk Mueller (mueller@kde.org)
</span><del>- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  *           (C) 2006 Alexey Proskuryakov (ap@nypop.com)
</span><span class="cx">  * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
</span><span class="cx">  * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved.
</span><span class="lines">@@ -604,6 +604,10 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void InputType::maxResultsAttributeChanged()
+{
+}
+
</ins><span class="cx"> bool InputType::shouldRespectAlignAttribute()
</span><span class="cx"> {
</span><span class="cx">     return false;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlInputTypeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/InputType.h (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/InputType.h        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/InputType.h        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><del>- * Copyright (C) 2011 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2011, 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  * Copyright (C) 2012 Samsung Electronics. All rights reserved.
</span><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="lines">@@ -244,6 +244,7 @@
</span><span class="cx">     virtual void stepAttributeChanged();
</span><span class="cx">     virtual void altAttributeChanged();
</span><span class="cx">     virtual void srcAttributeChanged();
</span><ins>+    virtual void maxResultsAttributeChanged();
</ins><span class="cx">     virtual bool shouldRespectAlignAttribute();
</span><span class="cx">     virtual FileList* files();
</span><span class="cx">     virtual void setFiles(PassRefPtr&lt;FileList&gt;);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlSearchInputTypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/SearchInputType.cpp (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/SearchInputType.cpp        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/SearchInputType.cpp        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><ins>+ * Copyright (C) 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions are
</span><span class="lines">@@ -45,8 +46,8 @@
</span><span class="cx"> 
</span><span class="cx"> SearchInputType::SearchInputType(HTMLInputElement&amp; element)
</span><span class="cx">     : BaseTextInputType(element)
</span><del>-    , m_resultsButton(0)
-    , m_cancelButton(0)
</del><ins>+    , m_resultsButton(nullptr)
+    , m_cancelButton(nullptr)
</ins><span class="cx">     , m_searchEventTimer(this, &amp;SearchInputType::searchEventTimerFired)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -59,6 +60,22 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+static void updateResultButtonPseudoType(SearchFieldResultsButtonElement&amp; resultButton, int maxResults)
+{
+    if (!maxResults)
+        resultButton.setPseudo(AtomicString(&quot;-webkit-search-results-decoration&quot;, AtomicString::ConstructFromLiteral));
+    else if (maxResults &lt; 0)
+        resultButton.setPseudo(AtomicString(&quot;-webkit-search-decoration&quot;, AtomicString::ConstructFromLiteral));
+    else if (maxResults &gt; 0)
+        resultButton.setPseudo(AtomicString(&quot;-webkit-search-results-button&quot;, AtomicString::ConstructFromLiteral));
+}
+
+void SearchInputType::maxResultsAttributeChanged()
+{
+    if (m_resultsButton)
+        updateResultButtonPseudoType(*m_resultsButton, element().maxResults());
+}
+
</ins><span class="cx"> RenderPtr&lt;RenderElement&gt; SearchInputType::createInputRenderer(PassRef&lt;RenderStyle&gt; style)
</span><span class="cx"> {
</span><span class="cx">     return createRenderer&lt;RenderSearchField&gt;(element(), WTF::move(style));
</span><span class="lines">@@ -97,6 +114,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;SearchFieldResultsButtonElement&gt; resultsButton = SearchFieldResultsButtonElement::create(element().document());
</span><span class="cx">     m_resultsButton = resultsButton.get();
</span><ins>+    updateResultButtonPseudoType(*m_resultsButton, element().maxResults());
</ins><span class="cx">     container-&gt;insertBefore(m_resultsButton, textWrapper, IGNORE_EXCEPTION);
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;SearchFieldCancelButtonElement&gt; cancelButton = SearchFieldCancelButtonElement::create(element().document());
</span><span class="lines">@@ -135,8 +153,8 @@
</span><span class="cx"> void SearchInputType::destroyShadowSubtree()
</span><span class="cx"> {
</span><span class="cx">     TextFieldInputType::destroyShadowSubtree();
</span><del>-    m_resultsButton = 0;
-    m_cancelButton = 0;
</del><ins>+    m_resultsButton = nullptr;
+    m_cancelButton = nullptr;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SearchInputType::startSearchEventTimer()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlSearchInputTypeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/SearchInputType.h (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/SearchInputType.h        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/SearchInputType.h        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><ins>+ * Copyright (C) 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions are
</span><span class="lines">@@ -36,10 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-class SearchFieldCancelButtonElement;
</del><span class="cx"> class SearchFieldResultsButtonElement;
</span><span class="cx"> 
</span><del>-class SearchInputType : public BaseTextInputType {
</del><ins>+class SearchInputType final : public BaseTextInputType {
</ins><span class="cx"> public:
</span><span class="cx">     explicit SearchInputType(HTMLInputElement&amp;);
</span><span class="cx"> 
</span><span class="lines">@@ -47,6 +47,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     virtual void addSearchResult() override;
</span><ins>+    virtual void maxResultsAttributeChanged() override;
</ins><span class="cx">     virtual RenderPtr&lt;RenderElement&gt; createInputRenderer(PassRef&lt;RenderStyle&gt;) override;
</span><span class="cx">     virtual const AtomicString&amp; formControlType() const override;
</span><span class="cx">     virtual bool shouldRespectSpeechAttribute() override;
</span><span class="lines">@@ -65,7 +66,7 @@
</span><span class="cx">     bool searchEventsShouldBeDispatched() const;
</span><span class="cx">     void startSearchEventTimer();
</span><span class="cx"> 
</span><del>-    HTMLElement* m_resultsButton;
</del><ins>+    SearchFieldResultsButtonElement* m_resultsButton;
</ins><span class="cx">     HTMLElement* m_cancelButton;
</span><span class="cx">     Timer&lt;SearchInputType&gt; m_searchEventTimer;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2006, 2008, 2010, 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="lines">@@ -140,24 +140,6 @@
</span><span class="cx">     return adoptRef(new SearchFieldResultsButtonElement(document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const AtomicString&amp; SearchFieldResultsButtonElement::shadowPseudoId() const
-{
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, resultsId, (&quot;-webkit-search-results-button&quot;, AtomicString::ConstructFromLiteral));
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, resultsDecorationId, (&quot;-webkit-search-results-decoration&quot;, AtomicString::ConstructFromLiteral));
-    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, decorationId, (&quot;-webkit-search-decoration&quot;, AtomicString::ConstructFromLiteral));
-    Element* host = shadowHost();
-    if (!host)
-        return resultsId;
-    if (HTMLInputElement* input = host-&gt;toInputElement()) {
-        if (input-&gt;maxResults() &lt; 0)
-            return decorationId;
-        if (input-&gt;maxResults() &gt; 0)
-            return resultsId;
-        return resultsDecorationId;
-    }
-    return resultsId;
-}
-
</del><span class="cx"> void SearchFieldResultsButtonElement::defaultEventHandler(Event* event)
</span><span class="cx"> {
</span><span class="cx">     // On mousedown, bring up a menu, if needed
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.h (171971 => 171972)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2014-08-02 20:47:53 UTC (rev 171971)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2014-08-02 20:51:12 UTC (rev 171972)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2006, 2008, 2010, 2014 Apple Inc. All rights reserved.
</ins><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="lines">@@ -87,7 +87,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     SearchFieldResultsButtonElement(Document&amp;);
</span><del>-    virtual const AtomicString&amp; shadowPseudoId() const override;
</del><span class="cx">     virtual bool isMouseFocusable() const override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>