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

Unified Diff: cc/scrollbar_layer_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/scrollbar_layer_unittest.cc
diff --git a/cc/scrollbar_layer_unittest.cc b/cc/scrollbar_layer_unittest.cc
index e9010f9c7a7867fb144219efdbfc827b9dbb246d..dc8ac39ae9588f1a9d0fbc3ef38d451c8ca79617 100644
--- a/cc/scrollbar_layer_unittest.cc
+++ b/cc/scrollbar_layer_unittest.cc
@@ -16,8 +16,7 @@
#include <public/WebScrollbarThemeGeometry.h>
#include <public/WebScrollbarThemePainter.h>
-using namespace cc;
-
+namespace cc {
namespace {
class FakeWebScrollbar : public WebKit::WebScrollbar {
@@ -124,4 +123,5 @@ TEST(ScrollbarLayerTest, scrollOffsetSynchronization)
EXPECT_EQ(300, ccScrollbarLayer->maximum());
}
-} // anonymous namespace
+} // namespace
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698