Title: [200642] trunk/Source/WebCore
- Revision
- 200642
- Author
- [email protected]
- Date
- 2016-05-10 13:45:28 -0700 (Tue, 10 May 2016)
Log Message
Fix the !ENABLE(SHADOW_DOM) && !ENABLE(DETAILS_ELEMENT) build
https://bugs.webkit.org/show_bug.cgi?id=157514
Reviewed by Ryosuke Niwa.
* dom/Element.cpp:
(WebCore::Element::insertedInto):
(WebCore::Element::removedFrom):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (200641 => 200642)
--- trunk/Source/WebCore/ChangeLog 2016-05-10 20:44:43 UTC (rev 200641)
+++ trunk/Source/WebCore/ChangeLog 2016-05-10 20:45:28 UTC (rev 200642)
@@ -1,5 +1,16 @@
2016-05-10 Csaba Osztrogonác <[email protected]>
+ Fix the !ENABLE(SHADOW_DOM) && !ENABLE(DETAILS_ELEMENT) build
+ https://bugs.webkit.org/show_bug.cgi?id=157514
+
+ Reviewed by Ryosuke Niwa.
+
+ * dom/Element.cpp:
+ (WebCore::Element::insertedInto):
+ (WebCore::Element::removedFrom):
+
+2016-05-10 Csaba Osztrogonác <[email protected]>
+
Fix the !ENABLE(WEB_TIMING) build
https://bugs.webkit.org/show_bug.cgi?id=157515
Modified: trunk/Source/WebCore/dom/Element.cpp (200641 => 200642)
--- trunk/Source/WebCore/dom/Element.cpp 2016-05-10 20:44:43 UTC (rev 200641)
+++ trunk/Source/WebCore/dom/Element.cpp 2016-05-10 20:45:28 UTC (rev 200642)
@@ -1511,10 +1511,12 @@
setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true);
#endif
+#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
if (parentNode() == &insertionPoint) {
if (auto* shadowRoot = parentNode()->shadowRoot())
shadowRoot->hostChildElementDidChange(*this);
}
+#endif
if (!insertionPoint.isInTreeScope())
return InsertionDone;
@@ -1595,10 +1597,12 @@
}
}
+#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
if (!parentNode()) {
if (auto* shadowRoot = insertionPoint.shadowRoot())
shadowRoot->hostChildElementDidChange(*this);
}
+#endif
ContainerNode::removedFrom(insertionPoint);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes