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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp

Issue 2385993002: Rewrap comments to 80 columns in Source/platform/image-decoders/. (Closed)
Patch Set: Rewrite comment Created 4 years, 2 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: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
index b14a8174c30c53ad917b6460a5e5204de98fac31..753bb51acc39a266ad01029c716f3d44b597106b 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
@@ -363,7 +363,8 @@ TEST(GIFImageDecoderTest, updateRequiredPreviousFrameAfterFirstDecode) {
readFile(layoutTestResourcesDir, "animated-10color.gif");
ASSERT_TRUE(fullData.get());
- // Give it data that is enough to parse but not decode in order to check the status
+ // Give it data that is enough to parse but not decode in order to check the
+ // status.
// of requiredPreviousFrameIndex before decoding.
size_t partialSize = 1;
do {
@@ -442,7 +443,8 @@ TEST(GIFImageDecoderTest, resumePartialDecodeAfterClearFrameBufferCache) {
}
// The first LZW codes in the image are invalid values that try to create a loop
-// in the dictionary. Decoding should fail, but not infinitely loop or corrupt memory.
+// in the dictionary. Decoding should fail, but not infinitely loop or corrupt
+// memory.
TEST(GIFImageDecoderTest, badInitialCode) {
RefPtr<SharedBuffer> testData =
readFile(decodersTestingDir, "bad-initial-code.gif");
@@ -455,7 +457,8 @@ TEST(GIFImageDecoderTest, badInitialCode) {
EXPECT_TRUE(testDecoder->failed());
}
-// The image has an invalid LZW code that exceeds dictionary size. Decoding should fail.
+// The image has an invalid LZW code that exceeds dictionary size. Decoding
+// should fail.
TEST(GIFImageDecoderTest, badCode) {
RefPtr<SharedBuffer> testData = readFile(decodersTestingDir, "bad-code.gif");
ASSERT_TRUE(testData.get());
@@ -549,7 +552,8 @@ TEST(GIFImageDecoderTest, bitmapAlphaType) {
ImageDecoder::GammaAndColorProfileApplied,
ImageDecoder::noDecodedImageByteLimit));
- // Partially decoded frame => the frame alpha type is unknown and should reflect the requested format.
+ // Partially decoded frame => the frame alpha type is unknown and should
+ // reflect the requested format.
premulDecoder->setData(partialData.get(), false);
ASSERT_TRUE(premulDecoder->frameCount());
unpremulDecoder->setData(partialData.get(), false);

Powered by Google App Engine
This is Rietveld 408576698