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

Unified Diff: cc/layer_sorter_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/layer_sorter_unittest.cc
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc
index 7dad9b8641ce04ab768c2c4f7d131443ae431dee..63376c59fcbc7c5b4399bd956dbf99c0c3f33139 100644
--- a/cc/layer_sorter_unittest.cc
+++ b/cc/layer_sorter_unittest.cc
@@ -12,9 +12,9 @@
#include "testing/gtest/include/gtest/gtest.h"
#include <public/WebTransformationMatrix.h>
-using namespace cc;
using WebKit::WebTransformationMatrix;
+namespace cc {
namespace {
// Note: In the following overlap tests, the "camera" is looking down the negative Z axis,
@@ -262,4 +262,5 @@ TEST(LayerSorterTest, verifyExistingOrderingPreservedWhenNoZDiff)
EXPECT_EQ(5, layerList[4]->id());
}
-} // anonymous namespace
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698