Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 3f8352caf484ba4a2bb78a953217ae763edbfda4..f07b88d31d4911797e096a870310037477d4258b 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -36,11 +36,12 @@ |
#include "core/events/MutationEvent.h" |
#include "core/events/ThreadLocalEventNames.h" |
#include "core/html/HTMLCollection.h" |
+#include "core/html/HTMLFrameOwnerElement.h" |
#include "core/rendering/InlineTextBox.h" |
#include "core/rendering/RenderText.h" |
#include "core/rendering/RenderTheme.h" |
#include "core/rendering/RenderView.h" |
-#include "core/rendering/RenderWidget.h" |
+#include "wtf/Vector.h" |
using namespace std; |
@@ -435,7 +436,7 @@ void ContainerNode::removeChild(Node* oldChild, ExceptionState& exceptionState) |
} |
{ |
- RenderWidget::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
+ HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
Node* prev = child->previousSibling(); |
Node* next = child->nextSibling(); |
@@ -525,7 +526,7 @@ void ContainerNode::removeChildren() |
NodeVector removedChildren; |
{ |
- RenderWidget::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
+ HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
{ |
NoEventDispatchAssertion assertNoEventDispatch; |
removedChildren.reserveInitialCapacity(childNodeCount()); |