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

Unified Diff: Source/platform/SharedBufferTest.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/SharedBufferTest.cpp
diff --git a/Source/platform/SharedBufferTest.cpp b/Source/platform/SharedBufferTest.cpp
index f376ca5eb02dae16b86c3d1c87991928a4ebd966..80fdc9b9e32d8aefb9cfafb347422721a33b1f08 100644
--- a/Source/platform/SharedBufferTest.cpp
+++ b/Source/platform/SharedBufferTest.cpp
@@ -39,9 +39,7 @@
#include <cstdlib>
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
TEST(SharedBufferTest, getAsBytes)
{
@@ -155,4 +153,4 @@ TEST(SharedBufferTest, createPurgeable)
ASSERT_EQ(0, memcmp(data, testData.data(), length));
}
-} // namespace
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698