Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 329183002: Removing "using" declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 93cbd21748652acd0f570ff6c3d29431a2fcefaa..edcd270f36fb69a6beedb69bc0bd7c07dabdb749 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -66,8 +66,6 @@
#include "wtf/PassOwnPtr.h"
#include "wtf/StdLibExtras.h"
-using namespace std;
-
namespace WebCore {
using namespace HTMLNames;
@@ -183,7 +181,7 @@ void LocalFrame::sendOrientationChangeEvent()
childFrames.append(toLocalFrame(child));
}
- for (size_t i = 0; i < childFrames.size(); ++i)
+ for (std::size_t i = 0; i < childFrames.size(); ++i)
childFrames[i]->sendOrientationChangeEvent();
}
@@ -257,7 +255,7 @@ void LocalFrame::didChangeVisibilityState()
childFrames.append(toLocalFrame(child));
}
- for (size_t i = 0; i < childFrames.size(); ++i)
+ for (std::size_t i = 0; i < childFrames.size(); ++i)
childFrames[i]->didChangeVisibilityState();
}

Powered by Google App Engine
This is Rietveld 408576698