Diff
Modified: trunk/ChangeLog (138357 => 138358)
--- trunk/ChangeLog 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/ChangeLog 2012-12-21 10:05:51 UTC (rev 138358)
@@ -1,3 +1,15 @@
+2012-12-21 Sheriff Bot <[email protected]>
+
+ Unreviewed, rolling out r138338.
+ http://trac.webkit.org/changeset/138338
+ https://bugs.webkit.org/show_bug.cgi?id=105621
+
+ speculative rollout because fast/dom/shadow/content-element-
+ distributed-nodes.html is crashing on linux debug. (Requested
+ by loislo on #webkit).
+
+ * Source/autotools/symbols.filter:
+
2012-12-20 Elliott Sprehn <[email protected]>
Replace documentFragmentIsShadowRoot with isTreeScope
Modified: trunk/Source/WebCore/ChangeLog (138357 => 138358)
--- trunk/Source/WebCore/ChangeLog 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/ChangeLog 2012-12-21 10:05:51 UTC (rev 138358)
@@ -1,3 +1,23 @@
+2012-12-21 Sheriff Bot <[email protected]>
+
+ Unreviewed, rolling out r138338.
+ http://trac.webkit.org/changeset/138338
+ https://bugs.webkit.org/show_bug.cgi?id=105621
+
+ speculative rollout because fast/dom/shadow/content-element-
+ distributed-nodes.html is crashing on linux debug. (Requested
+ by loislo on #webkit).
+
+ * WebCore.exp.in:
+ * dom/DocumentFragment.h:
+ * dom/Node.cpp:
+ (WebCore::Node::documentFragmentIsShadowRoot):
+ (WebCore):
+ * dom/Node.h:
+ (Node):
+ (WebCore::Node::isShadowRoot):
+ * dom/ShadowRoot.h:
+
2012-12-21 Adam Bergkvist <[email protected]>
MediaStream API: Update the MediaStream constructor
Modified: trunk/Source/WebCore/WebCore.exp.in (138357 => 138358)
--- trunk/Source/WebCore/WebCore.exp.in 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/WebCore.exp.in 2012-12-21 10:05:51 UTC (rev 138358)
@@ -1369,7 +1369,6 @@
__ZN7WebCore4Node12insertBeforeEN3WTF10PassRefPtrIS0_EEPS0_Rib
__ZNK7WebCore4Node13ownerDocumentEv
__ZNK7WebCore4Node14isDescendantOfEPKS0_
-__ZNK7WebCore4Node11isTreeScopeEv
__ZNK7WebCore4Node18getSubresourceURLsERN3WTF11ListHashSetINS_4KURLELm256ENS_8KURLHashEEE
__ZNK7WebCore4Node31numberOfScopedHTMLStyleChildrenEv
__ZNK7WebCore4Node9nodeIndexEv
Modified: trunk/Source/WebCore/dom/DocumentFragment.h (138357 => 138358)
--- trunk/Source/WebCore/dom/DocumentFragment.h 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/dom/DocumentFragment.h 2012-12-21 10:05:51 UTC (rev 138358)
@@ -46,6 +46,7 @@
virtual NodeType nodeType() const;
virtual PassRefPtr<Node> cloneNode(bool deep);
virtual bool childTypeAllowed(NodeType) const;
+ virtual bool documentFragmentIsShadowRoot() const OVERRIDE { return false; }
};
} //namespace
Modified: trunk/Source/WebCore/dom/Node.cpp (138357 => 138358)
--- trunk/Source/WebCore/dom/Node.cpp 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/dom/Node.cpp 2012-12-21 10:05:51 UTC (rev 138358)
@@ -913,11 +913,6 @@
return true;
}
-bool Node::isTreeScope() const
-{
- return treeScope()->rootNode() == this;
-}
-
bool Node::isKeyboardFocusable(KeyboardEvent*) const
{
return isFocusable() && tabIndex() >= 0;
@@ -928,6 +923,12 @@
return isFocusable();
}
+bool Node::documentFragmentIsShadowRoot() const
+{
+ ASSERT_NOT_REACHED();
+ return false;
+}
+
Node* Node::focusDelegate()
{
return this;
Modified: trunk/Source/WebCore/dom/Node.h (138357 => 138358)
--- trunk/Source/WebCore/dom/Node.h 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/dom/Node.h 2012-12-21 10:05:51 UTC (rev 138358)
@@ -246,12 +246,12 @@
virtual bool isCharacterDataNode() const { return false; }
virtual bool isFrameOwnerElement() const { return false; }
virtual bool isPluginElement() const { return false; }
+ virtual bool documentFragmentIsShadowRoot() const;
virtual bool isInsertionPointNode() const { return false; }
bool isDocumentNode() const;
- bool isTreeScope() const;
bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); }
- bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); }
+ bool isShadowRoot() const { return isDocumentFragment() && documentFragmentIsShadowRoot(); }
bool isInsertionPoint() const { return getFlag(NeedsShadowTreeWalkerFlag) && isInsertionPointNode(); }
bool needsShadowTreeWalker() const;
Modified: trunk/Source/WebCore/dom/ShadowRoot.h (138357 => 138358)
--- trunk/Source/WebCore/dom/ShadowRoot.h 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebCore/dom/ShadowRoot.h 2012-12-21 10:05:51 UTC (rev 138358)
@@ -121,6 +121,7 @@
virtual PassRefPtr<Node> cloneNode(bool deep);
virtual bool childTypeAllowed(NodeType) const;
virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE;
+ virtual bool documentFragmentIsShadowRoot() const OVERRIDE { return true; }
void setType(ShadowRootType type) { m_isAuthorShadowRoot = type == AuthorShadowRoot; }
Modified: trunk/Source/WebKit2/ChangeLog (138357 => 138358)
--- trunk/Source/WebKit2/ChangeLog 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebKit2/ChangeLog 2012-12-21 10:05:51 UTC (rev 138358)
@@ -1,3 +1,15 @@
+2012-12-21 Sheriff Bot <[email protected]>
+
+ Unreviewed, rolling out r138338.
+ http://trac.webkit.org/changeset/138338
+ https://bugs.webkit.org/show_bug.cgi?id=105621
+
+ speculative rollout because fast/dom/shadow/content-element-
+ distributed-nodes.html is crashing on linux debug. (Requested
+ by loislo on #webkit).
+
+ * win/WebKit2.def.in:
+
2012-12-21 Tim Horton <[email protected]>
Unreviewed Windows build fix after http://trac.webkit.org/changeset/138338
Modified: trunk/Source/WebKit2/win/WebKit2.def.in (138357 => 138358)
--- trunk/Source/WebKit2/win/WebKit2.def.in 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/WebKit2/win/WebKit2.def.in 2012-12-21 10:05:51 UTC (rev 138358)
@@ -302,7 +302,6 @@
?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVNodeList@1@@Z
?toRange@WebCore@@YAPAVRange@1@VJSValue@JSC@@@Z
?treeScope@Node@WebCore@@QBEPAVTreeScope@2@XZ
- ?isTreeScope@Node@WebCore@@QBE_NXZ
?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QAEXXZ
?userPreferredLanguages@WebCore@@YA?AV?$Vector@VString@WTF@@$0A@@WTF@@XZ
?utf8@String@WTF@@QBE?AVCString@2@W4ConversionMode@12@@Z
Modified: trunk/Source/autotools/symbols.filter (138357 => 138358)
--- trunk/Source/autotools/symbols.filter 2012-12-21 10:04:34 UTC (rev 138357)
+++ trunk/Source/autotools/symbols.filter 2012-12-21 10:05:51 UTC (rev 138358)
@@ -137,7 +137,6 @@
_ZNK7WebCore4Node11textContentEb;
_ZNK7WebCore4Node31numberOfScopedHTMLStyleChildrenEv;
_ZNK7WebCore4Node9treeScopeEv;
-_ZNK7WebCore4Node11isTreeScopeEv;
_ZNK7WebCore4Page17viewportArgumentsEv;
_ZNK7WebCore12RenderObject23absoluteBoundingBoxRectEb;
_ZNK7WebCore16HTMLInputElement14suggestedValueEv;