Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 310f3500a647e90d78a4c931cfc506d8cee16085..66a1bd40ef88132a0881b0d2494457f70b15833a 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -29,7 +29,6 @@ |
#include "core/dom/ClassCollection.h" |
#include "core/dom/ElementTraversal.h" |
#include "core/dom/ExceptionCode.h" |
-#include "core/dom/FullscreenElementStack.h" |
#include "core/dom/NameNodeList.h" |
#include "core/dom/NodeChildRemovalTracker.h" |
#include "core/dom/NodeRareData.h" |
@@ -544,9 +543,6 @@ PassRefPtrWillBeRawPtr<Node> ContainerNode::removeChild(PassRefPtrWillBeRawPtr<N |
document().removeFocusedElementOfSubtree(child.get()); |
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document())) |
- fullscreen->removeFullScreenElementOfSubtree(child.get()); |
- |
// Events fired when blurring currently focused node might have moved this |
// child into a different parent. |
if (child->parentNode() != this) { |
@@ -629,9 +625,6 @@ void ContainerNode::removeChildren() |
// The container node can be removed from event handlers. |
RefPtrWillBeRawPtr<ContainerNode> protect(this); |
- if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document())) |
- fullscreen->removeFullScreenElementOfSubtree(this, true); |
- |
// Do any prep work needed before actually starting to detach |
// and remove... e.g. stop loading frames, fire unload events. |
willRemoveChildren(); |