| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index d63b98e908235bd54bd1ea1d68fd517d04e89bab..d1ca990fae06ae22dc47a5692a704a6a973d63fd 100644
|
| --- a/Source/core/dom/ContainerNode.cpp
|
| +++ b/Source/core/dom/ContainerNode.cpp
|
| @@ -425,7 +425,7 @@ void ContainerNode::removeChild(Node* oldChild, ExceptionState& exceptionState)
|
|
|
| document().removeFocusedElementOfSubtree(child.get());
|
|
|
| - if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(&document()))
|
| + if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document()))
|
| fullscreen->removeFullScreenElementOfSubtree(child.get());
|
|
|
| // Events fired when blurring currently focused node might have moved this
|
| @@ -509,7 +509,7 @@ void ContainerNode::removeChildren()
|
| // The container node can be removed from event handlers.
|
| RefPtr<ContainerNode> protect(this);
|
|
|
| - if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(&document()))
|
| + if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(document()))
|
| fullscreen->removeFullScreenElementOfSubtree(this, true);
|
|
|
| // Do any prep work needed before actually starting to detach
|
|
|