| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index 89404abe21115d77396fd34f3a320ecfe05dc051..0c2d65e8c88cf0bd6d4f13e0de4b0c6cca0623f3 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/NoEventDispatchAssertion.h"
|
| #include "core/dom/NodeChildRemovalTracker.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();
|
|
|