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

Unified Diff: cc/nine_patch_layer_impl_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/nine_patch_layer_impl_unittest.cc
diff --git a/cc/nine_patch_layer_impl_unittest.cc b/cc/nine_patch_layer_impl_unittest.cc
index e552d8eda23cddc97a6f07054f7fb245680e7abc..dd1083e29e6ed5acc9b3a3404f6ab44db25d62ee 100644
--- a/cc/nine_patch_layer_impl_unittest.cc
+++ b/cc/nine_patch_layer_impl_unittest.cc
@@ -18,8 +18,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include <public/WebTransformationMatrix.h>
-using namespace cc;
-
+namespace cc {
namespace {
gfx::Rect ToRoundedIntRect(gfx::RectF rect_f) {
@@ -89,4 +88,5 @@ TEST(NinePatchLayerImplTest, verifyDrawQuads)
EXPECT_EQ(texRemaining, apertureRegion);
}
-}
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698