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

Unified Diff: cc/render_surface_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/render_surface_unittest.cc
diff --git a/cc/render_surface_unittest.cc b/cc/render_surface_unittest.cc
index bde530a692ba106ff33fbc59582e648eb3dfff4f..8e178edcc489ee2cab055e8b583f6a9c95290e62 100644
--- a/cc/render_surface_unittest.cc
+++ b/cc/render_surface_unittest.cc
@@ -18,9 +18,9 @@
#include "testing/gtest/include/gtest/gtest.h"
#include <public/WebTransformationMatrix.h>
-using namespace cc;
using WebKit::WebTransformationMatrix;
+namespace cc {
namespace {
#define EXECUTE_AND_VERIFY_SURFACE_CHANGED(codeToTest) \
@@ -153,4 +153,5 @@ TEST(RenderSurfaceTest, sanityCheckSurfaceCreatesCorrectRenderPass)
EXPECT_EQ(origin, pass->transformToRootTarget());
}
-} // anonymous namespace
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698