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

Unified Diff: cc/timing_function_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/timing_function_unittest.cc
diff --git a/cc/timing_function_unittest.cc b/cc/timing_function_unittest.cc
index 69b32672ae06cddd2816fd04b6c398a1ac02ee58..bd5efe8ec32c3680c89d293824f55fc9b649ff1c 100644
--- a/cc/timing_function_unittest.cc
+++ b/cc/timing_function_unittest.cc
@@ -7,8 +7,7 @@
#include "cc/timing_function.h"
#include "testing/gtest/include/gtest/gtest.h"
-using namespace cc;
-
+namespace cc {
namespace {
TEST(TimingFunctionTest, CubicBezierTimingFunction) {
@@ -38,4 +37,5 @@ TEST(TimingFunctionTest, CubicBezierTimingFunction) {
EXPECT_NEAR(function->getValue(1), 1, epsilon);
}
-} // anonymous namespace
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698