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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.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/ImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
index e6d9c095468d587483126dcb97ef31af747b5f31..16af027de66563ed253797351f73881dc4b9ea39 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
@@ -108,12 +108,14 @@ TEST(ImageDecoderTest, requiredPreviousFrameIndexDisposeOverwriteBgcolor) {
decoder->initFrames(3);
Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache();
- // Fully covering DisposeOverwriteBgcolor previous frame resets the starting state.
+ // Fully covering DisposeOverwriteBgcolor previous frame resets the starting
+ // state.
frameBuffers[1].setDisposalMethod(ImageFrame::DisposeOverwriteBgcolor);
decoder->resetRequiredPreviousFrames();
EXPECT_EQ(kNotFound, frameBuffers[2].requiredPreviousFrameIndex());
- // Partially covering DisposeOverwriteBgcolor previous frame is required by this frame.
+ // Partially covering DisposeOverwriteBgcolor previous frame is required by
+ // this frame.
frameBuffers[1].setOriginalFrameRect(IntRect(50, 50, 50, 50));
decoder->resetRequiredPreviousFrames();
EXPECT_EQ(1u, frameBuffers[2].requiredPreviousFrameIndex());
@@ -155,7 +157,8 @@ TEST(ImageDecoderTest, requiredPreviousFrameIndexBlendAtopBgcolor) {
frameBuffers[1].setOriginalFrameRect(IntRect(25, 25, 50, 50));
frameBuffers[2].setAlphaBlendSource(ImageFrame::BlendAtopBgcolor);
- // A full frame with 'blending method == BlendAtopBgcolor' doesn't depend on any prior frames.
+ // A full frame with 'blending method == BlendAtopBgcolor' doesn't depend on
+ // any prior frames.
for (int disposeMethod = ImageFrame::DisposeNotSpecified;
disposeMethod <= ImageFrame::DisposeOverwritePrevious; ++disposeMethod) {
frameBuffers[1].setDisposalMethod(
@@ -164,7 +167,8 @@ TEST(ImageDecoderTest, requiredPreviousFrameIndexBlendAtopBgcolor) {
EXPECT_EQ(kNotFound, frameBuffers[2].requiredPreviousFrameIndex());
}
- // A non-full frame with 'blending method == BlendAtopBgcolor' does depend on a prior frame.
+ // A non-full frame with 'blending method == BlendAtopBgcolor' does depend on
+ // a prior frame.
frameBuffers[2].setOriginalFrameRect(IntRect(50, 50, 50, 50));
for (int disposeMethod = ImageFrame::DisposeNotSpecified;
disposeMethod <= ImageFrame::DisposeOverwritePrevious; ++disposeMethod) {

Powered by Google App Engine
This is Rietveld 408576698