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

Unified Diff: Source/core/animation/AnimationTranslationUtil.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
« no previous file with comments | « Source/bindings/v8/custom/V8GeolocationCustom.cpp ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationTranslationUtil.cpp
diff --git a/Source/core/animation/AnimationTranslationUtil.cpp b/Source/core/animation/AnimationTranslationUtil.cpp
index e73df49e9b14bca48c6751902ba534afb7e35038..af0e919dc6b25aa0fad04ecdd674a028159df5de 100644
--- a/Source/core/animation/AnimationTranslationUtil.cpp
+++ b/Source/core/animation/AnimationTranslationUtil.cpp
@@ -40,7 +40,6 @@
#include "platform/transforms/TranslateTransformOperation.h"
#include "public/platform/WebTransformOperations.h"
-using namespace std;
using namespace blink;
namespace WebCore {
@@ -48,7 +47,7 @@ namespace WebCore {
void toWebTransformOperations(const TransformOperations& transformOperations, WebTransformOperations* webTransformOperations)
{
// We need to do a deep copy the transformOperations may contain ref pointers to TransformOperation objects.
- for (size_t j = 0; j < transformOperations.size(); ++j) {
+ for (std::size_t j = 0; j < transformOperations.size(); ++j) {
tkent 2014/06/12 00:23:23 Do we really need std:: for size_t?
Sunil Ratnu 2014/06/12 09:00:02 Thanks tkent. They are not needed as ::size_t is d
switch (transformOperations.operations()[j]->type()) {
case TransformOperation::ScaleX:
case TransformOperation::ScaleY:
« no previous file with comments | « Source/bindings/v8/custom/V8GeolocationCustom.cpp ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698