Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index fed648dbb0002f7a4a4f906e439df3f33500c162..dcb7a0633197c9aab3e7d619d4da8ecb2d64bafd 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -51,8 +51,6 @@ |
#include "core/rendering/RenderTheme.h" |
#include "core/rendering/RenderView.h" |
-using namespace std; |
- |
namespace WebCore { |
using namespace HTMLNames; |
@@ -566,7 +564,7 @@ void ContainerNode::removeChildren() |
childrenChanged(false, 0, 0, -static_cast<int>(removedChildren.size())); |
- for (size_t i = 0; i < removedChildren.size(); ++i) |
+ for (std::size_t i = 0; i < removedChildren.size(); ++i) |
notifyNodeRemoved(*removedChildren[i]); |
} |
@@ -670,7 +668,7 @@ void ContainerNode::notifyNodeInserted(Node& root) |
NodeVector postInsertionNotificationTargets; |
notifyNodeInsertedInternal(root, postInsertionNotificationTargets); |
- for (size_t i = 0; i < postInsertionNotificationTargets.size(); ++i) { |
+ for (std::size_t i = 0; i < postInsertionNotificationTargets.size(); ++i) { |
Node* targetNode = postInsertionNotificationTargets[i].get(); |
if (targetNode->inDocument()) |
targetNode->didNotifySubtreeInsertionsToDocument(); |