<!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>[149708] trunk/Source</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/149708">149708</a></dd>
<dt>Author</dt> <dd>antti@apple.com</dd>
<dt>Date</dt> <dd>2013-05-07 19:03:29 -0700 (Tue, 07 May 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove SelectRuleFeatureSet
https://bugs.webkit.org/show_bug.cgi?id=115757

Reviewed by Benjamin Poulain.

This is dead code.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/Element.cpp:
(WebCore::Element::attributeChanged):
(WebCore):
(WebCore::Element::didAffectSelector):
* dom/Element.h:
(Element):
* dom/ElementShadow.h:
(WebCore::ElementShadow::invalidateDistribution):
* html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistributor::ContentDistributor):
(WebCore):
* html/shadow/ContentDistributor.h:
(ContentDistributor):
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::insertedInto):
(WebCore::InsertionPoint::removedFrom):
* html/shadow/InsertionPoint.h:
(InsertionPoint):
* html/shadow/SelectRuleFeatureSet.cpp: Removed.
* html/shadow/SelectRuleFeatureSet.h: Removed.
* testing/Internals.cpp:
(WebCore):
* testing/Internals.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefilelistam">trunk/Source/WebCore/GNUmakefile.list.am</a></li>
<li><a href="#trunkSourceWebCoreTargetpri">trunk/Source/WebCore/Target.pri</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcprojWebCorevcproj">trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementh">trunk/Source/WebCore/dom/Element.h</a></li>
<li><a href="#trunkSourceWebCoredomElementShadowh">trunk/Source/WebCore/dom/ElementShadow.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowContentDistributorcpp">trunk/Source/WebCore/html/shadow/ContentDistributor.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowContentDistributorh">trunk/Source/WebCore/html/shadow/ContentDistributor.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowInsertionPointcpp">trunk/Source/WebCore/html/shadow/InsertionPoint.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowInsertionPointh">trunk/Source/WebCore/html/shadow/InsertionPoint.h</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsidl">trunk/Source/WebCore/testing/Internals.idl</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin">trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in</a></li>
<li><a href="#trunkSourceWebKitwinWebKitvcprojWebKitExportsdefin">trunk/Source/WebKit/win/WebKit.vcproj/WebKitExports.def.in</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorehtmlshadowSelectRuleFeatureSetcpp">trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowSelectRuleFeatureSeth">trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/CMakeLists.txt        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -1578,7 +1578,6 @@
</span><span class="cx">     html/shadow/MediaControlsApple.cpp
</span><span class="cx">     html/shadow/MeterShadowElement.cpp
</span><span class="cx">     html/shadow/ProgressShadowElement.cpp
</span><del>-    html/shadow/SelectRuleFeatureSet.cpp
</del><span class="cx">     html/shadow/SliderThumbElement.cpp
</span><span class="cx">     html/shadow/SpinButtonElement.cpp
</span><span class="cx">     html/shadow/TextControlInnerElements.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/ChangeLog        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -1,3 +1,42 @@
</span><ins>+2013-05-07  Antti Koivisto  &lt;antti@apple.com&gt;
+
+        Remove SelectRuleFeatureSet
+        https://bugs.webkit.org/show_bug.cgi?id=115757
+
+        Reviewed by Benjamin Poulain.
+
+        This is dead code.
+
+        * CMakeLists.txt:
+        * GNUmakefile.list.am:
+        * Target.pri:
+        * WebCore.exp.in:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.xcodeproj/project.pbxproj:
+        * dom/Element.cpp:
+        (WebCore::Element::attributeChanged):
+        (WebCore):
+        (WebCore::Element::didAffectSelector):
+        * dom/Element.h:
+        (Element):
+        * dom/ElementShadow.h:
+        (WebCore::ElementShadow::invalidateDistribution):
+        * html/shadow/ContentDistributor.cpp:
+        (WebCore::ContentDistributor::ContentDistributor):
+        (WebCore):
+        * html/shadow/ContentDistributor.h:
+        (ContentDistributor):
+        * html/shadow/InsertionPoint.cpp:
+        (WebCore::InsertionPoint::insertedInto):
+        (WebCore::InsertionPoint::removedFrom):
+        * html/shadow/InsertionPoint.h:
+        (InsertionPoint):
+        * html/shadow/SelectRuleFeatureSet.cpp: Removed.
+        * html/shadow/SelectRuleFeatureSet.h: Removed.
+        * testing/Internals.cpp:
+        (WebCore):
+        * testing/Internals.idl:
+
</ins><span class="cx"> 2013-05-07  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Store the quotes in the same allocation as the QuotesData object
</span></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefilelistam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.list.am (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.list.am        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/GNUmakefile.list.am        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -3750,8 +3750,6 @@
</span><span class="cx">         Source/WebCore/html/shadow/MeterShadowElement.h \
</span><span class="cx">         Source/WebCore/html/shadow/ProgressShadowElement.cpp \
</span><span class="cx">         Source/WebCore/html/shadow/ProgressShadowElement.h \
</span><del>-        Source/WebCore/html/shadow/SelectRuleFeatureSet.cpp \
-        Source/WebCore/html/shadow/SelectRuleFeatureSet.h \
</del><span class="cx">         Source/WebCore/html/shadow/SliderThumbElement.cpp \
</span><span class="cx">         Source/WebCore/html/shadow/SliderThumbElement.h \
</span><span class="cx">         Source/WebCore/html/shadow/SpinButtonElement.cpp \
</span></span></pre></div>
<a id="trunkSourceWebCoreTargetpri"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Target.pri (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Target.pri        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/Target.pri        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -773,7 +773,6 @@
</span><span class="cx">     html/shadow/MediaControlsApple.cpp \
</span><span class="cx">     html/shadow/MeterShadowElement.cpp \
</span><span class="cx">     html/shadow/ProgressShadowElement.cpp \
</span><del>-    html/shadow/SelectRuleFeatureSet.cpp \
</del><span class="cx">     html/shadow/SliderThumbElement.cpp \
</span><span class="cx">     html/shadow/SpinButtonElement.cpp \
</span><span class="cx">     html/shadow/TextControlInnerElements.cpp \
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/WebCore.exp.in        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -587,7 +587,6 @@
</span><span class="cx"> __ZN7WebCore17openTemporaryFileERKN3WTF6StringERi
</span><span class="cx"> __ZN7WebCore17setCookiesFromDOMERKNS_21NetworkStorageSessionERKNS_4KURLES5_RKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore17userVisibleStringEP5NSURL
</span><del>-__ZN7WebCore18ContentDistributor22ensureSelectFeatureSetEPNS_13ElementShadowE
</del><span class="cx"> __ZN7WebCore18DOMWindowExtensionC1EPNS_5FrameEPNS_15DOMWrapperWorldE
</span><span class="cx"> __ZN7WebCore18PlatformPasteboard10uniqueNameEv
</span><span class="cx"> __ZN7WebCore18PlatformPasteboard13bufferForTypeERKN3WTF6StringE
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcprojWebCorevcproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -65598,14 +65598,6 @@
</span><span class="cx">                                         &gt;
</span><span class="cx">                                 &lt;/File&gt;
</span><span class="cx">                                 &lt;File
</span><del>-                                        RelativePath=&quot;..\html\shadow\SelectRuleFeatureSet.cpp&quot;
-                                        &gt;
-                                &lt;/File&gt;
-                                &lt;File
-                                        RelativePath=&quot;..\html\shadow\SelectRuleFeatureSet.h&quot;
-                                        &gt;
-                                &lt;/File&gt;
-                                &lt;File
</del><span class="cx">                                         RelativePath=&quot;..\html\shadow\SliderThumbElement.cpp&quot;
</span><span class="cx">                                         &gt;
</span><span class="cx">                                 &lt;/File&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -1658,8 +1658,6 @@
</span><span class="cx">                 53EF766C16531994004CBE49 /* SettingsMacros.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 53EF766A16530A61004CBE49 /* SettingsMacros.h */; };
</span><span class="cx">                 550A0BC9085F6039007353D6 /* QualifiedName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 550A0BC7085F6039007353D6 /* QualifiedName.cpp */; };
</span><span class="cx">                 550A0BCA085F6039007353D6 /* QualifiedName.h in Headers */ = {isa = PBXBuildFile; fileRef = 550A0BC8085F6039007353D6 /* QualifiedName.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                570B78BF1650CE81001DBE1B /* SelectRuleFeatureSet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 570B78BD1650CE81001DBE1B /* SelectRuleFeatureSet.cpp */; };
-                570B78C01650CE81001DBE1B /* SelectRuleFeatureSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 570B78BE1650CE81001DBE1B /* SelectRuleFeatureSet.h */; };
</del><span class="cx">                 573D134714CE39FF0057ABCA /* InspectorTypeBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 573D134514CE39FF0057ABCA /* InspectorTypeBuilder.cpp */; };
</span><span class="cx">                 578DA20E1520EB8C006141C1 /* InspectorFrontend.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F4F5FFC11CBD30100A186BF /* InspectorFrontend.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 578DA20F1520EBA3006141C1 /* InspectorTypeBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 573D134614CE39FF0057ABCA /* InspectorTypeBuilder.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -8063,8 +8061,6 @@
</span><span class="cx">                 53EF766A16530A61004CBE49 /* SettingsMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingsMacros.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 550A0BC7085F6039007353D6 /* QualifiedName.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = QualifiedName.cpp; sourceTree = &quot;&lt;group&gt;&quot;; tabWidth = 8; usesTabs = 0; };
</span><span class="cx">                 550A0BC8085F6039007353D6 /* QualifiedName.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = QualifiedName.h; sourceTree = &quot;&lt;group&gt;&quot;; tabWidth = 8; usesTabs = 0; };
</span><del>-                570B78BD1650CE81001DBE1B /* SelectRuleFeatureSet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SelectRuleFeatureSet.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                570B78BE1650CE81001DBE1B /* SelectRuleFeatureSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SelectRuleFeatureSet.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 573D134514CE39FF0057ABCA /* InspectorTypeBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorTypeBuilder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 573D134614CE39FF0057ABCA /* InspectorTypeBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorTypeBuilder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 57B7919F14C6A62900F202D1 /* ContentDistributor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ContentDistributor.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -13943,8 +13939,6 @@
</span><span class="cx">                                 A78E526E1346BD1700AD9C31 /* MeterShadowElement.h */,
</span><span class="cx">                                 A715E650134BBBEC00D8E713 /* ProgressShadowElement.cpp */,
</span><span class="cx">                                 A715E651134BBBEC00D8E713 /* ProgressShadowElement.h */,
</span><del>-                                570B78BD1650CE81001DBE1B /* SelectRuleFeatureSet.cpp */,
-                                570B78BE1650CE81001DBE1B /* SelectRuleFeatureSet.h */,
</del><span class="cx">                                 4150F9F012B6E0E70008C860 /* SliderThumbElement.cpp */,
</span><span class="cx">                                 4150F9EF12B6E0E70008C860 /* SliderThumbElement.h */,
</span><span class="cx">                                 4512502015DCE37D002F84E2 /* SpinButtonElement.cpp */,
</span><span class="lines">@@ -23398,7 +23392,6 @@
</span><span class="cx">                                 41B8CD4616D04591000E8CC0 /* SelectorCheckerFastPath.h in Headers */,
</span><span class="cx">                                 415071581685067300C3C7B3 /* SelectorFilter.h in Headers */,
</span><span class="cx">                                 E45322AC140CE267005A0F92 /* SelectorQuery.h in Headers */,
</span><del>-                                570B78C01650CE81001DBE1B /* SelectRuleFeatureSet.h in Headers */,
</del><span class="cx">                                 A75E497610752ACB00C9B896 /* SerializedScriptValue.h in Headers */,
</span><span class="cx">                                 93309E10099E64920056E581 /* SetNodeAttributeCommand.h in Headers */,
</span><span class="cx">                                 B8DBDB4C130B0F8A00F5CDB1 /* SetSelectionCommand.h in Headers */,
</span><span class="lines">@@ -26475,7 +26468,6 @@
</span><span class="cx">                                 41B8CD4516D04591000E8CC0 /* SelectorCheckerFastPath.cpp in Sources */,
</span><span class="cx">                                 415071571685067300C3C7B3 /* SelectorFilter.cpp in Sources */,
</span><span class="cx">                                 E45322AB140CE267005A0F92 /* SelectorQuery.cpp in Sources */,
</span><del>-                                570B78BF1650CE81001DBE1B /* SelectRuleFeatureSet.cpp in Sources */,
</del><span class="cx">                                 A75E497710752ACB00C9B896 /* SerializedScriptValue.cpp in Sources */,
</span><span class="cx">                                 93309E0F099E64920056E581 /* SetNodeAttributeCommand.cpp in Sources */,
</span><span class="cx">                                 B8DBDB4B130B0F8A00F5CDB1 /* SetSelectionCommand.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/dom/Element.cpp        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -851,11 +851,6 @@
</span><span class="cx"> 
</span><span class="cx"> void Element::attributeChanged(const QualifiedName&amp; name, const AtomicString&amp; newValue, AttributeModificationReason)
</span><span class="cx"> {
</span><del>-    if (ElementShadow* parentElementShadow = shadowOfParentForDistribution(this)) {
-        if (shouldInvalidateDistributionWhenAttributeChanged(parentElementShadow, name, newValue))
-            parentElementShadow-&gt;invalidateDistribution();
-    }
-
</del><span class="cx">     parseAttribute(name, newValue);
</span><span class="cx"> 
</span><span class="cx">     document()-&gt;incDOMTreeVersion();
</span><span class="lines">@@ -995,40 +990,6 @@
</span><span class="cx">         setNeedsStyleRecalc();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool Element::shouldInvalidateDistributionWhenAttributeChanged(ElementShadow* elementShadow, const QualifiedName&amp; name, const AtomicString&amp; newValue)
-{
-    ASSERT(elementShadow);
-    const SelectRuleFeatureSet&amp; featureSet = elementShadow-&gt;distributor().ensureSelectFeatureSet(elementShadow);
-
-    if (isIdAttributeName(name)) {
-        AtomicString oldId = elementData()-&gt;idForStyleResolution();
-        AtomicString newId = makeIdForStyleResolution(newValue, document()-&gt;inQuirksMode());
-        if (newId != oldId) {
-            if (!oldId.isEmpty() &amp;&amp; featureSet.hasSelectorForId(oldId))
-                return true;
-            if (!newId.isEmpty() &amp;&amp; featureSet.hasSelectorForId(newId))
-                return true;
-        }
-    }
-
-    if (name == HTMLNames::classAttr) {
-        const AtomicString&amp; newClassString = newValue;
-        if (classStringHasClassName(newClassString)) {
-            const bool shouldFoldCase = document()-&gt;inQuirksMode();
-            const SpaceSplitString&amp; oldClasses = elementData()-&gt;classNames();
-            const SpaceSplitString newClasses(newClassString, shouldFoldCase);
-            if (checkSelectorForClassChange(oldClasses, newClasses, featureSet))
-                return true;
-        } else {
-            const SpaceSplitString&amp; oldClasses = elementData()-&gt;classNames();
-            if (checkSelectorForClassChange(oldClasses, featureSet))
-                return true;
-        }
-    }
-
-    return featureSet.hasSelectorForAttribute(name.localName());
-}
-
</del><span class="cx"> // Returns true is the given attribute is an event handler.
</span><span class="cx"> // We consider an event handler any attribute that begins with &quot;on&quot;.
</span><span class="cx"> // It is a simple solution that has the advantage of not requiring any
</span><span class="lines">@@ -1510,11 +1471,9 @@
</span><span class="cx">     return ensureElementRareData()-&gt;ensureShadow();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void Element::didAffectSelector(AffectedSelectorMask mask)
</del><ins>+void Element::didAffectSelector(AffectedSelectorMask)
</ins><span class="cx"> {
</span><span class="cx">     setNeedsStyleRecalc();
</span><del>-    if (ElementShadow* elementShadow = shadowOfParentForDistribution(this))
-        elementShadow-&gt;didAffectSelector(mask);
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;ShadowRoot&gt; Element::createShadowRoot(ExceptionCode&amp; ec)
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.h (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.h        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/dom/Element.h        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -727,8 +727,6 @@
</span><span class="cx"> 
</span><span class="cx">     void createUniqueElementData();
</span><span class="cx"> 
</span><del>-    bool shouldInvalidateDistributionWhenAttributeChanged(ElementShadow*, const QualifiedName&amp;, const AtomicString&amp;);
-
</del><span class="cx">     ElementRareData* elementRareData() const;
</span><span class="cx">     ElementRareData* ensureElementRareData();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementShadowh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ElementShadow.h (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ElementShadow.h        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/dom/ElementShadow.h        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -65,8 +65,6 @@
</span><span class="cx">     void removeAllEventListeners();
</span><span class="cx"> 
</span><span class="cx">     void invalidateDistribution() { m_distributor.invalidateDistribution(host()); }
</span><del>-    void didAffectSelector(AffectedSelectorMask mask) { m_distributor.didAffectSelector(host(), mask); }
-    void willAffectSelector() { m_distributor.willAffectSelector(host()); }
</del><span class="cx"> 
</span><span class="cx">     ContentDistributor&amp; distributor() { return m_distributor; }
</span><span class="cx">     const ContentDistributor&amp; distributor() const { return m_distributor; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowContentDistributorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ContentDistributor.cpp (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ContentDistributor.cpp        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/ContentDistributor.cpp        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -151,8 +151,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> ContentDistributor::ContentDistributor()
</span><del>-    : m_needsSelectFeatureSet(false)
-    , m_validity(Undetermined)
</del><ins>+    : m_validity(Undetermined)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -325,57 +324,6 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const SelectRuleFeatureSet&amp; ContentDistributor::ensureSelectFeatureSet(ElementShadow* shadow)
-{
-    if (!m_needsSelectFeatureSet)
-        return m_selectFeatures;
-
-    m_selectFeatures.clear();
-    if (ShadowRoot* root = shadow-&gt;shadowRoot())
-        collectSelectFeatureSetFrom(root);
-    m_needsSelectFeatureSet = false;
-    return m_selectFeatures;
-}
-
-void ContentDistributor::collectSelectFeatureSetFrom(ShadowRoot* root)
-{
-    if (ScopeContentDistribution::hasElementShadow(root)) {
-        for (Element* element = ElementTraversal::firstWithin(root); element; element = ElementTraversal::next(element)) {
-            if (ElementShadow* elementShadow = element-&gt;shadow())
-                m_selectFeatures.add(elementShadow-&gt;distributor().ensureSelectFeatureSet(elementShadow));
-        }
-    }
-
-    if (ScopeContentDistribution::hasContentElement(root)) {
-        for (Element* element = ElementTraversal::firstWithin(root); element; element = ElementTraversal::next(element)) {
-            if (!isHTMLContentElement(element))
-                continue;
-            const CSSSelectorList&amp; list = toHTMLContentElement(element)-&gt;selectorList();
-            for (const CSSSelector* selector = list.first(); selector; selector = CSSSelectorList::next(selector)) {
-                for (const CSSSelector* component = selector; component; component = component-&gt;tagHistory())
-                    m_selectFeatures.collectFeaturesFromSelector(component);
-            }
-        }
-    }
-}
-
-void ContentDistributor::didAffectSelector(Element* host, AffectedSelectorMask mask)
-{
-    if (ensureSelectFeatureSet(host-&gt;shadow()).hasSelectorFor(mask))
-        invalidateDistribution(host);
-}
-
-void ContentDistributor::willAffectSelector(Element* host)
-{
-    for (ElementShadow* shadow = host-&gt;shadow(); shadow; shadow = shadow-&gt;containingShadow()) {
-        if (shadow-&gt;distributor().needsSelectFeatureSet())
-            break;
-        shadow-&gt;distributor().setNeedsSelectFeatureSet();
-    }
-
-    invalidateDistribution(host);
-}
-
</del><span class="cx"> void ContentDistributor::didShadowBoundaryChange(Element* host)
</span><span class="cx"> {
</span><span class="cx">     setValidity(Undetermined);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowContentDistributorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ContentDistributor.h (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ContentDistributor.h        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/ContentDistributor.h        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #ifndef ContentDistributor_h
</span><span class="cx"> #define ContentDistributor_h
</span><span class="cx"> 
</span><del>-#include &quot;SelectRuleFeatureSet.h&quot;
</del><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="lines">@@ -115,15 +114,12 @@
</span><span class="cx">     ~ContentDistributor();
</span><span class="cx"> 
</span><span class="cx">     InsertionPoint* findInsertionPointFor(const Node* key) const;
</span><del>-    const SelectRuleFeatureSet&amp; ensureSelectFeatureSet(ElementShadow*);
</del><span class="cx"> 
</span><span class="cx">     void distributeSelectionsTo(InsertionPoint*, const ContentDistribution&amp; pool, Vector&lt;bool&gt;&amp; distributed);
</span><span class="cx">     void distributeNodeChildrenTo(InsertionPoint*, ContainerNode*);
</span><span class="cx"> 
</span><span class="cx">     void invalidateDistribution(Element* host);
</span><span class="cx">     void didShadowBoundaryChange(Element* host);
</span><del>-    void didAffectSelector(Element* host, AffectedSelectorMask);
-    void willAffectSelector(Element* host);
</del><span class="cx"> 
</span><span class="cx">     static void ensureDistribution(ShadowRoot*);
</span><span class="cx"> 
</span><span class="lines">@@ -132,18 +128,12 @@
</span><span class="cx">     bool invalidate(Element* host);
</span><span class="cx">     void populate(Node*, ContentDistribution&amp;);
</span><span class="cx"> 
</span><del>-    void collectSelectFeatureSetFrom(ShadowRoot*);
-    bool needsSelectFeatureSet() const { return m_needsSelectFeatureSet; }
-    void setNeedsSelectFeatureSet() { m_needsSelectFeatureSet = true; }
-
</del><span class="cx">     void setValidity(Validity validity) { m_validity = validity; }
</span><span class="cx">     bool isValid() const { return m_validity == Valid; }
</span><span class="cx">     bool needsDistribution() const;
</span><span class="cx">     bool needsInvalidation() const { return m_validity != Invalidated; }
</span><span class="cx"> 
</span><span class="cx">     HashMap&lt;const Node*, RefPtr&lt;InsertionPoint&gt; &gt; m_nodeToInsertionPoint;
</span><del>-    SelectRuleFeatureSet m_selectFeatures;
-    bool m_needsSelectFeatureSet : 1;
</del><span class="cx">     unsigned m_validity : 2;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowInsertionPointcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/InsertionPoint.cpp (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/InsertionPoint.cpp        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/InsertionPoint.cpp        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -134,8 +134,6 @@
</span><span class="cx">             if (isActive() &amp;&amp; !m_registeredWithShadowRoot &amp;&amp; insertionPoint-&gt;treeScope()-&gt;rootNode() == root) {
</span><span class="cx">                 m_registeredWithShadowRoot = true;
</span><span class="cx">                 root-&gt;ensureScopeDistribution()-&gt;registerInsertionPoint(this);
</span><del>-                if (canAffectSelector())
-                    rootOwner-&gt;willAffectSelector();
</del><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="lines">@@ -161,8 +159,6 @@
</span><span class="cx">         ASSERT(root);
</span><span class="cx">         m_registeredWithShadowRoot = false;
</span><span class="cx">         root-&gt;ensureScopeDistribution()-&gt;unregisterInsertionPoint(this);
</span><del>-        if (rootOwner &amp;&amp; canAffectSelector())
-            rootOwner-&gt;willAffectSelector();
</del><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     HTMLElement::removedFrom(insertionPoint);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowInsertionPointh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/InsertionPoint.h (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/InsertionPoint.h        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/InsertionPoint.h        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -66,7 +66,6 @@
</span><span class="cx">     virtual MatchType matchTypeFor(Node*) { return AlwaysMatches; }
</span><span class="cx">     virtual const CSSSelectorList&amp; selectorList() { return emptySelectorList(); }
</span><span class="cx">     virtual Type insertionPointType() const = 0;
</span><del>-    virtual bool canAffectSelector() const { return false; }
</del><span class="cx"> 
</span><span class="cx">     bool resetStyleInheritance() const;
</span><span class="cx">     void setResetStyleInheritance(bool);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSelectRuleFeatureSetcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.cpp (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.cpp        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.cpp        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;SelectRuleFeatureSet.h&quot;
-
-#include &quot;CSSSelector.h&quot;
-
-namespace WebCore {
-
-SelectRuleFeatureSet::SelectRuleFeatureSet()
-    : m_featureFlags(0)
-{
-}
-
-void SelectRuleFeatureSet::add(const SelectRuleFeatureSet&amp; featureSet)
-{
-    m_cssRuleFeatureSet.add(featureSet.m_cssRuleFeatureSet);
-    m_featureFlags |= featureSet.m_featureFlags;
-}
-
-void SelectRuleFeatureSet::clear()
-{
-    m_cssRuleFeatureSet.clear();
-    m_featureFlags = 0;
-}
-
-void SelectRuleFeatureSet::collectFeaturesFromSelector(const CSSSelector* selector)
-{
-    m_cssRuleFeatureSet.collectFeaturesFromSelector(selector);
-
-    switch (selector-&gt;pseudoType()) {
-    case CSSSelector::PseudoChecked:
-        setSelectRuleFeature(AffectedSelectorChecked);
-        break;
-    case CSSSelector::PseudoEnabled:
-        setSelectRuleFeature(AffectedSelectorEnabled);
-        break;
-    case CSSSelector::PseudoDisabled:
-        setSelectRuleFeature(AffectedSelectorDisabled);
-        break;
-    case CSSSelector::PseudoIndeterminate:
-        setSelectRuleFeature(AffectedSelectorIndeterminate);
-        break;
-    case CSSSelector::PseudoLink:
-        setSelectRuleFeature(AffectedSelectorLink);
-        break;
-    case CSSSelector::PseudoTarget:
-        setSelectRuleFeature(AffectedSelectorTarget);
-        break;
-    case CSSSelector::PseudoVisited:
-        setSelectRuleFeature(AffectedSelectorVisited);
-        break;
-    default:
-        break;
-    }
-}
-
-}
-
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSelectRuleFeatureSeth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.h (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.h        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/html/shadow/SelectRuleFeatureSet.h        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -1,88 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef SelectRuleFeatureSet_h
-#define SelectRuleFeatureSet_h
-
-#include &quot;Element.h&quot;
-#include &quot;RuleFeature.h&quot;
-
-namespace WebCore {
-
-class SelectRuleFeatureSet {
-public:
-    SelectRuleFeatureSet();
-
-    void add(const SelectRuleFeatureSet&amp;);
-    void clear();
-    void collectFeaturesFromSelector(const CSSSelector*);
-
-    bool hasSelectorForId(const AtomicString&amp;) const;
-    bool hasSelectorForClass(const AtomicString&amp;) const;
-    bool hasSelectorForAttribute(const AtomicString&amp;) const;
-
-    bool hasSelectorForChecked() const { return hasSelectorFor(AffectedSelectorChecked); }
-    bool hasSelectorForEnabled() const { return hasSelectorFor(AffectedSelectorEnabled); }
-    bool hasSelectorForDisabled() const { return hasSelectorFor(AffectedSelectorDisabled); }
-    bool hasSelectorForIndeterminate() const { return hasSelectorFor(AffectedSelectorIndeterminate); }
-    bool hasSelectorForLink() const { return hasSelectorFor(AffectedSelectorLink); }
-    bool hasSelectorForTarget() const { return hasSelectorFor(AffectedSelectorTarget); }
-    bool hasSelectorForVisited() const { return hasSelectorFor(AffectedSelectorVisited); }
-
-    bool hasSelectorFor(AffectedSelectorMask features) const { return m_featureFlags &amp; features; }
-
-private:
-    void setSelectRuleFeature(AffectedSelectorType feature) { m_featureFlags |= feature; }
-
-    RuleFeatureSet m_cssRuleFeatureSet;
-    int m_featureFlags;
-};
-
-inline bool SelectRuleFeatureSet::hasSelectorForId(const AtomicString&amp; idValue) const
-{
-    ASSERT(!idValue.isEmpty());
-    return m_cssRuleFeatureSet.idsInRules.contains(idValue.impl());
-}
-
-inline bool SelectRuleFeatureSet::hasSelectorForClass(const AtomicString&amp; classValue) const
-{
-    ASSERT(!classValue.isEmpty());
-    return m_cssRuleFeatureSet.classesInRules.contains(classValue.impl());
-}
-
-inline bool SelectRuleFeatureSet::hasSelectorForAttribute(const AtomicString&amp; attributeName) const
-{
-    ASSERT(!attributeName.isEmpty());
-    return m_cssRuleFeatureSet.attrsInRules.contains(attributeName.impl());
-}
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/testing/Internals.cpp        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -85,7 +85,6 @@
</span><span class="cx"> #include &quot;RuntimeEnabledFeatures.h&quot;
</span><span class="cx"> #include &quot;SchemeRegistry.h&quot;
</span><span class="cx"> #include &quot;ScrollingCoordinator.h&quot;
</span><del>-#include &quot;SelectRuleFeatureSet.h&quot;
</del><span class="cx"> #include &quot;SerializedScriptValue.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;ShadowRoot.h&quot;
</span><span class="lines">@@ -402,63 +401,6 @@
</span><span class="cx">     return parentTreeScope ? parentTreeScope-&gt;rootNode() : 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool Internals::hasSelectorForIdInShadow(Element* host, const String&amp; idValue, ExceptionCode&amp; ec)
-{
-    if (!host || !host-&gt;shadow()) {
-        ec = INVALID_ACCESS_ERR;
-        return 0;
-    }
-
-    return host-&gt;shadow()-&gt;distributor().ensureSelectFeatureSet(host-&gt;shadow()).hasSelectorForId(idValue);
-}
-
-bool Internals::hasSelectorForClassInShadow(Element* host, const String&amp; className, ExceptionCode&amp; ec)
-{
-    if (!host || !host-&gt;shadow()) {
-        ec = INVALID_ACCESS_ERR;
-        return 0;
-    }
-
-    return host-&gt;shadow()-&gt;distributor().ensureSelectFeatureSet(host-&gt;shadow()).hasSelectorForClass(className);
-}
-
-bool Internals::hasSelectorForAttributeInShadow(Element* host, const String&amp; attributeName, ExceptionCode&amp; ec)
-{
-    if (!host || !host-&gt;shadow()) {
-        ec = INVALID_ACCESS_ERR;
-        return 0;
-    }
-
-    return host-&gt;shadow()-&gt;distributor().ensureSelectFeatureSet(host-&gt;shadow()).hasSelectorForAttribute(attributeName);
-}
-
-bool Internals::hasSelectorForPseudoClassInShadow(Element* host, const String&amp; pseudoClass, ExceptionCode&amp; ec)
-{
-    if (!host || !host-&gt;shadow()) {
-        ec = INVALID_ACCESS_ERR;
-        return 0;
-    }
-
-    const SelectRuleFeatureSet&amp; featureSet = host-&gt;shadow()-&gt;distributor().ensureSelectFeatureSet(host-&gt;shadow());
-    if (pseudoClass == &quot;checked&quot;)
-        return featureSet.hasSelectorForChecked();
-    if (pseudoClass == &quot;enabled&quot;)
-        return featureSet.hasSelectorForEnabled();
-    if (pseudoClass == &quot;disabled&quot;)
-        return featureSet.hasSelectorForDisabled();
-    if (pseudoClass == &quot;indeterminate&quot;)
-        return featureSet.hasSelectorForIndeterminate();
-    if (pseudoClass == &quot;link&quot;)
-        return featureSet.hasSelectorForLink();
-    if (pseudoClass == &quot;target&quot;)
-        return featureSet.hasSelectorForTarget();
-    if (pseudoClass == &quot;visited&quot;)
-        return featureSet.hasSelectorForVisited();
-
-    ASSERT_NOT_REACHED();
-    return false;
-}
-
</del><span class="cx"> unsigned Internals::numberOfActiveAnimations() const
</span><span class="cx"> {
</span><span class="cx">     Frame* contextFrame = frame();
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.idl (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.idl        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebCore/testing/Internals.idl        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -55,10 +55,6 @@
</span><span class="cx">     boolean isValidContentSelect(Element contentElement) raises(DOMException);
</span><span class="cx">     Node treeScopeRootNode(Node node) raises (DOMException);
</span><span class="cx">     Node parentTreeScope(Node node) raises (DOMException);
</span><del>-    boolean hasSelectorForIdInShadow(Element host, DOMString id) raises (DOMException);
-    boolean hasSelectorForClassInShadow(Element host, DOMString className) raises (DOMException);
-    boolean hasSelectorForAttributeInShadow(Element host, DOMString attributeName) raises (DOMException);
-    boolean hasSelectorForPseudoClassInShadow(Element host, DOMString pseudoClass) raises (DOMException);
</del><span class="cx"> 
</span><span class="cx">     // CSS Animation testing.
</span><span class="cx">     unsigned long numberOfActiveAnimations();
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -394,7 +394,6 @@
</span><span class="cx">         ?pseudoElement@Element@WebCore@@QBEPAVPseudoElement@2@W4PseudoId@2@@Z
</span><span class="cx">         ?pauseTransitionAtTime@AnimationController@WebCore@@QAE_NPAVRenderObject@2@ABVString@WTF@@N@Z
</span><span class="cx">         ?addFromLiteralData@AtomicString@WTF@@CA?AV?$PassRefPtr@VStringImpl@WTF@@@2@PBDI@Z
</span><del>-        ?ensureSelectFeatureSet@ContentDistributor@WebCore@@QAEABVSelectRuleFeatureSet@2@PAVElementShadow@2@@Z
</del><span class="cx">         ?hasContentElement@ScopeContentDistribution@WebCore@@SA_NPBVShadowRoot@2@@Z
</span><span class="cx">         ?countElementShadow@ScopeContentDistribution@WebCore@@SAIPBVShadowRoot@2@@Z
</span><span class="cx">         ?memoryCache@WebCore@@YAPAVMemoryCache@1@XZ
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebKitvcprojWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebKit.vcproj/WebKitExports.def.in (149707 => 149708)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebKit.vcproj/WebKitExports.def.in        2013-05-08 01:47:57 UTC (rev 149707)
+++ trunk/Source/WebKit/win/WebKit.vcproj/WebKitExports.def.in        2013-05-08 02:03:29 UTC (rev 149708)
</span><span class="lines">@@ -394,7 +394,6 @@
</span><span class="cx">         ?pseudoElement@Element@WebCore@@QBEPAVPseudoElement@2@W4PseudoId@2@@Z
</span><span class="cx">         ?pauseTransitionAtTime@AnimationController@WebCore@@QAE_NPAVRenderObject@2@ABVString@WTF@@N@Z
</span><span class="cx">         ?addFromLiteralData@AtomicString@WTF@@CA?AV?$PassRefPtr@VStringImpl@WTF@@@2@PBDI@Z
</span><del>-        ?ensureSelectFeatureSet@ContentDistributor@WebCore@@QAEABVSelectRuleFeatureSet@2@PAVElementShadow@2@@Z
</del><span class="cx">         ?hasContentElement@ScopeContentDistribution@WebCore@@SA_NPBVShadowRoot@2@@Z
</span><span class="cx">         ?countElementShadow@ScopeContentDistribution@WebCore@@SAIPBVShadowRoot@2@@Z
</span><span class="cx">         ?memoryCache@WebCore@@YAPAVMemoryCache@1@XZ
</span></span></pre>
</div>
</div>

</body>
</html>