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

Unified Diff: Source/platform/graphics/GraphicsContextTest.cpp

Issue 1184673003: Fix unit test style in Source/platform/, part 2. (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/graphics/GraphicsContextTest.cpp
diff --git a/Source/platform/graphics/GraphicsContextTest.cpp b/Source/platform/graphics/GraphicsContextTest.cpp
index 414fce61ad5643acedcf835a339de138402b40bb..ec6ca6d1cc97d3b8ad3d233fc47bf7e672df05a3 100644
--- a/Source/platform/graphics/GraphicsContextTest.cpp
+++ b/Source/platform/graphics/GraphicsContextTest.cpp
@@ -23,7 +23,6 @@
*/
#include "config.h"
-
#include "platform/graphics/GraphicsContext.h"
#include "platform/RuntimeEnabledFeatures.h"
@@ -36,12 +35,9 @@
#include "third_party/skia/include/effects/SkBlurDrawLooper.h"
#include "third_party/skia/include/effects/SkBlurImageFilter.h"
#include "third_party/skia/include/effects/SkBlurMaskFilter.h"
-
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
#define EXPECT_EQ_RECT(a, b) \
EXPECT_EQ(a.x(), b.x()); \
@@ -283,4 +279,4 @@ TEST(GraphicsContextTest, RecordingCanvas)
context->endRecording();
}
-} // namespace
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698