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

Unified Diff: Source/platform/image-decoders/webp/WEBPImageDecoderTest.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/image-decoders/webp/WEBPImageDecoderTest.cpp
diff --git a/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp b/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
index 394523eb5a07f742f9b7f421f781dbe55a11d140..f55a4d8f82085e1a00082c461460dd7e64258c65 100644
--- a/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
+++ b/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
@@ -29,7 +29,6 @@
*/
#include "config.h"
-
#include "platform/image-decoders/webp/WEBPImageDecoder.h"
#include "platform/RuntimeEnabledFeatures.h"
@@ -45,7 +44,7 @@
#include "wtf/dtoa/utils.h"
#include <gtest/gtest.h>
-using namespace blink;
+namespace blink {
namespace {
@@ -309,7 +308,7 @@ void testAlphaBlending(const char* webpFile)
verifyFramesMatch(webpFile, decoderA->frameBufferAtIndex(i), decoderB->frameBufferAtIndex(i));
}
-} // namespace
+} // anonymous namespace
TEST(AnimatedWebPTests, uniqueGenerationIDs)
{
@@ -740,3 +739,5 @@ TEST(StaticWebPTests, notAnimated)
EXPECT_EQ(1u, decoder->frameCount());
EXPECT_EQ(cAnimationNone, decoder->repetitionCount());
}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698