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

Unified Diff: Source/platform/fonts/GlyphBufferTest.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/fonts/GlyphBufferTest.cpp
diff --git a/Source/platform/fonts/GlyphBufferTest.cpp b/Source/platform/fonts/GlyphBufferTest.cpp
index 44297b1ae6f0e6c2d314d69f7bcfd94d20f10196..fa3a49ebb2ab133ba19b67bc39754c6279a07f1a 100644
--- a/Source/platform/fonts/GlyphBufferTest.cpp
+++ b/Source/platform/fonts/GlyphBufferTest.cpp
@@ -10,7 +10,7 @@
#include "wtf/RefPtr.h"
#include <gtest/gtest.h>
-using namespace blink;
+namespace blink {
namespace {
@@ -32,6 +32,8 @@ private:
}
};
+} // anonymous namespace
+
TEST(GlyphBufferTest, StartsEmpty)
{
GlyphBuffer glyphBuffer;
@@ -221,4 +223,4 @@ TEST(GlyphBufferTest, ReverseForSimpleRTL)
EXPECT_EQ(85, glyphBuffer.xOffsetAt(2));
}
-} // namespace
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698