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

Unified Diff: Source/platform/image-decoders/gif/GIFImageDecoderTest.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/gif/GIFImageDecoderTest.cpp
diff --git a/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp b/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
index 756b4acb23a6eab8b0a5a3a9e869f71e8ca0c117..bd34686cdab66ea4fd5548e3463c53cfed624789 100644
--- a/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
+++ b/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
@@ -29,7 +29,6 @@
*/
#include "config.h"
-
#include "platform/image-decoders/gif/GIFImageDecoder.h"
#include "platform/SharedBuffer.h"
@@ -43,7 +42,7 @@
#include "wtf/Vector.h"
#include <gtest/gtest.h>
-using namespace blink;
+namespace blink {
namespace {
@@ -140,7 +139,7 @@ void testRandomDecodeAfterClearFrameBufferCache(const char* dir, const char* gif
}
}
-} // namespace
+} // anonymous namespace
TEST(GIFImageDecoderTest, decodeTwoFrames)
{
@@ -530,3 +529,5 @@ TEST(GIFImageDecoderTest, firstFrameHasGreaterSizeThanScreenSize)
ASSERT_EQ(frameSize.height(), decoder->decodedSize().height());
}
}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698