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

Unified Diff: Source/platform/geometry/RegionTest.cpp

Issue 1182703002: Fix unit test style in Source/platform/, part 1. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months 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: Source/platform/geometry/RegionTest.cpp
diff --git a/Source/platform/geometry/RegionTest.cpp b/Source/platform/geometry/RegionTest.cpp
index 5d7905b218f1d25336c0dc5bdd77ecfbc0d7eb3c..5ee401b7bd998071a32e7a374856d9783ed6f252 100644
--- a/Source/platform/geometry/RegionTest.cpp
+++ b/Source/platform/geometry/RegionTest.cpp
@@ -23,14 +23,11 @@
*/
#include "config.h"
-
#include "platform/geometry/Region.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
#define TEST_INSIDE_RECT(r, x, y, w, h) \
EXPECT_TRUE(r.contains(IntPoint(x, y))); \
@@ -391,4 +388,4 @@ TEST(RegionTest, unite)
EXPECT_EQ(Region(IntRect(0, 0, 500, 500)), r);
}
-} // namespace
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698