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

Unified Diff: cc/keyframed_animation_curve_unittest.cc

Issue 11410022: cc: Remove forbidden using namespace directives. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: cc/keyframed_animation_curve_unittest.cc
diff --git a/cc/keyframed_animation_curve_unittest.cc b/cc/keyframed_animation_curve_unittest.cc
index a1a0cf96a5d3ec6c4131fe9487475f8257c35e51..398e3c0b8e9b5cea886e1700682e0fefe4c9c600 100644
--- a/cc/keyframed_animation_curve_unittest.cc
+++ b/cc/keyframed_animation_curve_unittest.cc
@@ -11,9 +11,9 @@
#include <public/WebTransformOperations.h>
#include <public/WebTransformationMatrix.h>
-using namespace cc;
using WebKit::WebTransformationMatrix;
+namespace cc {
namespace {
void expectTranslateX(double translateX, const WebTransformationMatrix& matrix)
@@ -203,4 +203,5 @@ TEST(KeyframedAnimationCurveTest, CubicBezierTimingFunction)
EXPECT_FLOAT_EQ(1, curve->getValue(1));
}
-} // anonymous namespace
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698