<!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>[149628] 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/149628">149628</a></dd>
<dt>Author</dt> <dd>antti@apple.com</dd>
<dt>Date</dt> <dd>2013-05-06 12:37:44 -0700 (Mon, 06 May 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove more code that was only needed for younger/older shadow trees
https://bugs.webkit.org/show_bug.cgi?id=115662

Reviewed by Andreas Kling.

This is dead code.

* WebCore.exp.in:
* dom/ComposedShadowTreeWalker.cpp:
(WebCore::nodeCanBeDistributed):
(WebCore::ComposedShadowTreeWalker::traverseParentBackToShadowRootOrHost):
* dom/EventPathWalker.cpp:
(WebCore::EventPathWalker::moveToParent):
* html/shadow/ContentDistributor.cpp:
(WebCore::ScopeContentDistribution::ScopeContentDistribution):
(WebCore::ScopeContentDistribution::registerInsertionPoint):
(WebCore::ScopeContentDistribution::unregisterInsertionPoint):
(WebCore):
(WebCore::ScopeContentDistribution::hasInsertionPoint):
(WebCore::ContentDistributor::invalidate):
* html/shadow/ContentDistributor.h:
(ScopeContentDistribution):
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::contains):
(WebCore::resolveReprojection):
(WebCore::collectInsertionPointsWhereNodeIsDistributed):
* html/shadow/InsertionPoint.h:
* testing/Internals.cpp:
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoredomComposedShadowTreeWalkercpp">trunk/Source/WebCore/dom/ComposedShadowTreeWalker.cpp</a></li>
<li><a href="#trunkSourceWebCoredomEventPathWalkercpp">trunk/Source/WebCore/dom/EventPathWalker.cpp</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="#trunkSourceWebCoretestingInternalsh">trunk/Source/WebCore/testing/Internals.h</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>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/ChangeLog        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -1,3 +1,38 @@
</span><ins>+2013-05-06  Antti Koivisto  &lt;antti@apple.com&gt;
+
+        Remove more code that was only needed for younger/older shadow trees
+        https://bugs.webkit.org/show_bug.cgi?id=115662
+
+        Reviewed by Andreas Kling.
+
+        This is dead code.
+
+        * WebCore.exp.in:
+        * dom/ComposedShadowTreeWalker.cpp:
+        (WebCore::nodeCanBeDistributed):
+        (WebCore::ComposedShadowTreeWalker::traverseParentBackToShadowRootOrHost):
+        * dom/EventPathWalker.cpp:
+        (WebCore::EventPathWalker::moveToParent):
+        * html/shadow/ContentDistributor.cpp:
+        (WebCore::ScopeContentDistribution::ScopeContentDistribution):
+        (WebCore::ScopeContentDistribution::registerInsertionPoint):
+        (WebCore::ScopeContentDistribution::unregisterInsertionPoint):
+        (WebCore):
+        (WebCore::ScopeContentDistribution::hasInsertionPoint):
+        (WebCore::ContentDistributor::invalidate):
+        * html/shadow/ContentDistributor.h:
+        (ScopeContentDistribution):
+        * html/shadow/InsertionPoint.cpp:
+        (WebCore::InsertionPoint::contains):
+        (WebCore::resolveReprojection):
+        (WebCore::collectInsertionPointsWhereNodeIsDistributed):
+        * html/shadow/InsertionPoint.h:
+        * testing/Internals.cpp:
+        (WebCore):
+        * testing/Internals.h:
+        (Internals):
+        * testing/Internals.idl:
+
</ins><span class="cx"> 2013-05-06  Tiancheng Jiang  &lt;tijiang@rim.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [BlackBerry] Update HTML5 progress bar UX.
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/WebCore.exp.in        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -764,7 +764,6 @@
</span><span class="cx"> __ZN7WebCore24FrameDestructionObserver14willDetachPageEv
</span><span class="cx"> __ZN7WebCore24FrameDestructionObserverC2EPNS_5FrameE
</span><span class="cx"> __ZN7WebCore24FrameDestructionObserverD2Ev
</span><del>-__ZN7WebCore24ScopeContentDistribution16hasShadowElementEPKNS_10ShadowRootE
</del><span class="cx"> __ZN7WebCore24ScopeContentDistribution17hasContentElementEPKNS_10ShadowRootE
</span><span class="cx"> __ZN7WebCore24ScopeContentDistribution18countElementShadowEPKNS_10ShadowRootE
</span><span class="cx"> __ZN7WebCore24createFragmentFromMarkupEPNS_8DocumentERKN3WTF6StringES5_NS_19ParserContentPolicyE
</span></span></pre></div>
<a id="trunkSourceWebCoredomComposedShadowTreeWalkercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ComposedShadowTreeWalker.cpp (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ComposedShadowTreeWalker.cpp        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/dom/ComposedShadowTreeWalker.cpp        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -51,8 +51,8 @@
</span><span class="cx">     if (!parent)
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    if (ShadowRoot* shadowRoot = parent-&gt;isShadowRoot() ? toShadowRoot(parent) : 0)
-        return ScopeContentDistribution::assignedTo(shadowRoot);
</del><ins>+    if (parent-&gt;isShadowRoot())
+        return false;
</ins><span class="cx"> 
</span><span class="cx">     if (parent-&gt;isElementNode() &amp;&amp; toElement(parent)-&gt;shadow())
</span><span class="cx">         return true;
</span><span class="lines">@@ -238,7 +238,6 @@
</span><span class="cx"> Node* ComposedShadowTreeWalker::traverseParentBackToShadowRootOrHost(const ShadowRoot* shadowRoot, ParentTraversalDetails* details) const
</span><span class="cx"> {
</span><span class="cx">     ASSERT(shadowRoot);
</span><del>-    ASSERT(!ScopeContentDistribution::assignedTo(shadowRoot));
</del><span class="cx"> 
</span><span class="cx">     if (canCrossUpperBoundary()) {
</span><span class="cx">         if (details)
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventPathWalkercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EventPathWalker.cpp (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EventPathWalker.cpp        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/dom/EventPathWalker.cpp        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -61,19 +61,10 @@
</span><span class="cx">     }
</span><span class="cx">     if (!m_node-&gt;isShadowRoot()) {
</span><span class="cx">         m_node = m_node-&gt;parentNode();
</span><del>-        if (!(m_node &amp;&amp; m_node-&gt;isShadowRoot() &amp;&amp; ScopeContentDistribution::assignedTo(toShadowRoot(m_node))))
-            m_distributedNode = m_node;
</del><span class="cx">         m_isVisitingInsertionPointInReprojection = false;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><del>-
-    const ShadowRoot* shadowRoot = toShadowRoot(m_node);
-    if (InsertionPoint* insertionPoint = ScopeContentDistribution::assignedTo(shadowRoot)) {
-        m_node = insertionPoint;
-        m_isVisitingInsertionPointInReprojection = true;
-        return;
-    }
-    m_node = shadowRoot-&gt;host();
</del><ins>+    m_node = toShadowRoot(m_node)-&gt;host();
</ins><span class="cx">     m_distributedNode = m_node;
</span><span class="cx">     m_isVisitingInsertionPointInReprojection = false;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowContentDistributorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ContentDistributor.cpp (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ContentDistributor.cpp        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/html/shadow/ContentDistributor.cpp        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -75,9 +75,7 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> ScopeContentDistribution::ScopeContentDistribution()
</span><del>-    : m_insertionPointAssignedTo(0)
-    , m_numberOfShadowElementChildren(0)
-    , m_numberOfContentElementChildren(0)
</del><ins>+    : m_numberOfContentElementChildren(0)
</ins><span class="cx">     , m_numberOfElementShadowChildren(0)
</span><span class="cx">     , m_insertionPointListIsValid(false)
</span><span class="cx"> {
</span><span class="lines">@@ -111,9 +109,6 @@
</span><span class="cx"> void ScopeContentDistribution::registerInsertionPoint(InsertionPoint* point)
</span><span class="cx"> {
</span><span class="cx">     switch (point-&gt;insertionPointType()) {
</span><del>-    case InsertionPoint::ShadowInsertionPoint:
-        ++m_numberOfShadowElementChildren;
-        break;
</del><span class="cx">     case InsertionPoint::ContentInsertionPoint:
</span><span class="cx">         ++m_numberOfContentElementChildren;
</span><span class="cx">         break;
</span><span class="lines">@@ -125,10 +120,6 @@
</span><span class="cx"> void ScopeContentDistribution::unregisterInsertionPoint(InsertionPoint* point)
</span><span class="cx"> {
</span><span class="cx">     switch (point-&gt;insertionPointType()) {
</span><del>-    case InsertionPoint::ShadowInsertionPoint:
-        ASSERT(m_numberOfShadowElementChildren &gt; 0);
-        --m_numberOfShadowElementChildren;
-        break;
</del><span class="cx">     case InsertionPoint::ContentInsertionPoint:
</span><span class="cx">         ASSERT(m_numberOfContentElementChildren &gt; 0);
</span><span class="cx">         --m_numberOfContentElementChildren;
</span><span class="lines">@@ -138,14 +129,6 @@
</span><span class="cx">     invalidateInsertionPointList();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool ScopeContentDistribution::hasShadowElement(const ShadowRoot* holder)
-{
-    if (!holder-&gt;scopeDistribution())
-        return false;
-
-    return holder-&gt;scopeDistribution()-&gt;hasShadowElementChildren();
-}
-
</del><span class="cx"> bool ScopeContentDistribution::hasContentElement(const ShadowRoot* holder)
</span><span class="cx"> {
</span><span class="cx">     if (!holder-&gt;scopeDistribution())
</span><span class="lines">@@ -164,17 +147,9 @@
</span><span class="cx"> 
</span><span class="cx"> bool ScopeContentDistribution::hasInsertionPoint(const ShadowRoot* holder)
</span><span class="cx"> {
</span><del>-    return hasShadowElement(holder) || hasContentElement(holder);
</del><ins>+    return hasContentElement(holder);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-InsertionPoint* ScopeContentDistribution::assignedTo(const ShadowRoot* holder)
-{
-    if (!holder-&gt;scopeDistribution())
-        return 0;
-
-    return holder-&gt;scopeDistribution()-&gt;insertionPointAssignedTo();
-}
-
</del><span class="cx"> ContentDistributor::ContentDistributor()
</span><span class="cx">     : m_needsSelectFeatureSet(false)
</span><span class="cx">     , m_validity(Undetermined)
</span><span class="lines">@@ -245,7 +220,6 @@
</span><span class="cx"> 
</span><span class="cx">     if (ShadowRoot* root = host-&gt;shadowRoot()) {
</span><span class="cx">         if (ScopeContentDistribution* scope = root-&gt;scopeDistribution()) {
</span><del>-            scope-&gt;setInsertionPointAssignedTo(0);
</del><span class="cx">             const Vector&lt;RefPtr&lt;InsertionPoint&gt; &gt;&amp; insertionPoints = scope-&gt;ensureInsertionPointList(root);
</span><span class="cx">             for (size_t i = 0; i &lt; insertionPoints.size(); ++i) {
</span><span class="cx">                 needsReattach = needsReattach || true;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowContentDistributorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/ContentDistributor.h (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/ContentDistributor.h        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/html/shadow/ContentDistributor.h        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -75,12 +75,8 @@
</span><span class="cx"> public:
</span><span class="cx">     ScopeContentDistribution();
</span><span class="cx"> 
</span><del>-    InsertionPoint* insertionPointAssignedTo() const { return m_insertionPointAssignedTo; }
-    void setInsertionPointAssignedTo(InsertionPoint* insertionPoint) { m_insertionPointAssignedTo = insertionPoint; }
-
</del><span class="cx">     void registerInsertionPoint(InsertionPoint*);
</span><span class="cx">     void unregisterInsertionPoint(InsertionPoint*);
</span><del>-    bool hasShadowElementChildren() const { return m_numberOfShadowElementChildren &gt; 0; }
</del><span class="cx">     bool hasContentElementChildren() const { return m_numberOfContentElementChildren &gt; 0; }
</span><span class="cx"> 
</span><span class="cx">     void registerElementShadow() { ++m_numberOfElementShadowChildren; }
</span><span class="lines">@@ -93,16 +89,12 @@
</span><span class="cx"> 
</span><span class="cx">     bool isUsedForRendering() const;
</span><span class="cx"> 
</span><del>-    static bool hasShadowElement(const ShadowRoot*);
</del><span class="cx">     static bool hasContentElement(const ShadowRoot*);
</span><span class="cx">     static bool hasInsertionPoint(const ShadowRoot*);
</span><span class="cx">     static bool hasElementShadow(const ShadowRoot* holder) { return countElementShadow(holder); }
</span><span class="cx">     static unsigned countElementShadow(const ShadowRoot*);
</span><del>-    static InsertionPoint* assignedTo(const ShadowRoot*);
</del><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    InsertionPoint* m_insertionPointAssignedTo;
-    unsigned m_numberOfShadowElementChildren;
</del><span class="cx">     unsigned m_numberOfContentElementChildren;
</span><span class="cx">     unsigned m_numberOfElementShadowChildren;
</span><span class="cx">     bool m_insertionPointListIsValid;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowInsertionPointcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/InsertionPoint.cpp (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/InsertionPoint.cpp        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/html/shadow/InsertionPoint.cpp        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool InsertionPoint::contains(const Node* node) const
</span><span class="cx"> {
</span><del>-    return m_distribution.contains(const_cast&lt;Node*&gt;(node)) || (node-&gt;isShadowRoot() &amp;&amp; ScopeContentDistribution::assignedTo(toShadowRoot(node)) == this);
</del><ins>+    return m_distribution.contains(const_cast&lt;Node*&gt;(node));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const CSSSelectorList&amp; InsertionPoint::emptySelectorList()
</span><span class="lines">@@ -214,15 +214,6 @@
</span><span class="cx">                 continue;
</span><span class="cx">             }
</span><span class="cx">         }
</span><del>-
-        if (Node* parent = parentNodeForDistribution(current)) {
-            if (InsertionPoint* insertedTo = parent-&gt;isShadowRoot() ? ScopeContentDistribution::assignedTo(toShadowRoot(parent)) : 0) {
-                current = insertedTo;
-                insertionPoint = insertedTo;
-                continue;
-            }
-        }
-
</del><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -242,13 +233,6 @@
</span><span class="cx">                 continue;
</span><span class="cx">             }
</span><span class="cx">         }
</span><del>-        if (Node* parent = parentNodeForDistribution(current)) {
-            if (InsertionPoint* insertedTo = parent-&gt;isShadowRoot() ? ScopeContentDistribution::assignedTo(toShadowRoot(parent)) : 0) {
-                current = insertedTo;
-                results.append(insertedTo);
-                continue;
-            }
-        }
</del><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowInsertionPointh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/InsertionPoint.h (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/InsertionPoint.h        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/html/shadow/InsertionPoint.h        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx"> class InsertionPoint : public HTMLElement {
</span><span class="cx"> public:
</span><span class="cx">     enum Type {
</span><del>-        ShadowInsertionPoint,
</del><span class="cx">         ContentInsertionPoint
</span><span class="cx">     };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/testing/Internals.cpp        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -571,15 +571,6 @@
</span><span class="cx">     return frame()-&gt;animation()-&gt;pauseTransitionAtTime(pseudoElement-&gt;renderer(), property, pauseTime);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool Internals::hasShadowInsertionPoint(const Node* root, ExceptionCode&amp; ec) const
-{
-    if (root &amp;&amp; root-&gt;isShadowRoot())
-        return ScopeContentDistribution::hasShadowElement(toShadowRoot(root));
-
-    ec = INVALID_ACCESS_ERR;
-    return 0;
-}
-
</del><span class="cx"> bool Internals::hasContentElement(const Node* root, ExceptionCode&amp; ec) const
</span><span class="cx"> {
</span><span class="cx">     if (root &amp;&amp; root-&gt;isShadowRoot())
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.h (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.h        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/testing/Internals.h        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -90,7 +90,6 @@
</span><span class="cx">     ShadowRootIfShadowDOMEnabledOrNode* createShadowRoot(Element* host, ExceptionCode&amp;);
</span><span class="cx">     ShadowRootIfShadowDOMEnabledOrNode* shadowRoot(Element* host, ExceptionCode&amp;);
</span><span class="cx">     String shadowRootType(const Node*, ExceptionCode&amp;) const;
</span><del>-    bool hasShadowInsertionPoint(const Node*, ExceptionCode&amp;) const;
</del><span class="cx">     bool hasContentElement(const Node*, ExceptionCode&amp;) const;
</span><span class="cx">     size_t countElementShadow(const Node*, ExceptionCode&amp;) const;
</span><span class="cx">     Element* includerFor(Node*, ExceptionCode&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.idl (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.idl        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebCore/testing/Internals.idl        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -46,7 +46,6 @@
</span><span class="cx">     Node shadowRoot(Element host) raises (DOMException);
</span><span class="cx"> #endif
</span><span class="cx">     DOMString shadowRootType(Node root) raises (DOMException);
</span><del>-    boolean hasShadowInsertionPoint(Node root) raises (DOMException);
</del><span class="cx">     boolean hasContentElement(Node root) raises (DOMException);
</span><span class="cx">     unsigned long countElementShadow(Node Root) raises (DOMException);
</span><span class="cx">     Element includerFor(Node node) raises (DOMException);
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in (149627 => 149628)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2013-05-06 19:36:29 UTC (rev 149627)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2013-05-06 19:37:44 UTC (rev 149628)
</span><span class="lines">@@ -395,7 +395,6 @@
</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><span class="cx">         ?ensureSelectFeatureSet@ContentDistributor@WebCore@@QAEABVSelectRuleFeatureSet@2@PAVElementShadow@2@@Z
</span><del>-        ?hasShadowElement@ScopeContentDistribution@WebCore@@SA_NPBVShadowRoot@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>