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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp

Issue 2387093002: Reflow comments in canvas-related folders (Closed)
Patch Set: More fix 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/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
index 678b7deca98002a5dade4851bd0c324956db0621..81cec46726049147ccb1d763e99045f809b31b2f 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
@@ -67,7 +67,8 @@ class MockCanvasAsyncBlobCreatorWithoutStartPng
protected:
void scheduleInitiatePngEncoding() override {
- // Deliberately make scheduleInitiatePngEncoding do nothing so that idle task never starts
+ // Deliberately make scheduleInitiatePngEncoding do nothing so that idle
+ // task never starts
}
};
@@ -91,7 +92,8 @@ class MockCanvasAsyncBlobCreatorWithoutCompletePng
}
void idleEncodeRowsPng(double deadlineSeconds) override {
- // Deliberately make idleEncodeRowsPng do nothing so that idle task never completes
+ // Deliberately make idleEncodeRowsPng do nothing so that idle task never
+ // completes
}
};
@@ -109,7 +111,8 @@ class MockCanvasAsyncBlobCreatorWithoutStartJpeg
protected:
void scheduleInitiateJpegEncoding(const double&) override {
- // Deliberately make scheduleInitiateJpegEncoding do nothing so that idle task never starts
+ // Deliberately make scheduleInitiateJpegEncoding do nothing so that idle
+ // task never starts
}
};
@@ -134,7 +137,8 @@ class MockCanvasAsyncBlobCreatorWithoutCompleteJpeg
}
void idleEncodeRowsJpeg(double deadlineSeconds) override {
- // Deliberately make idleEncodeRowsJpeg do nothing so that idle task never completes
+ // Deliberately make idleEncodeRowsJpeg do nothing so that idle task never
+ // completes
}
};
@@ -192,8 +196,9 @@ void CanvasAsyncBlobCreatorTest::prepareMockCanvasAsyncBlobCreatorFailPng() {
IntSize testSize(0, 0);
ImageData* imageData = ImageData::create(testSize);
- // We reuse the class MockCanvasAsyncBlobCreatorWithoutCompletePng because this
- // test case is expected to fail at initialization step before completion.
+ // We reuse the class MockCanvasAsyncBlobCreatorWithoutCompletePng because
+ // this test case is expected to fail at initialization step before
+ // completion.
m_asyncBlobCreator = new MockCanvasAsyncBlobCreatorWithoutCompletePng(
imageData->data(), testSize, document());
}
@@ -220,8 +225,9 @@ void CanvasAsyncBlobCreatorTest::prepareMockCanvasAsyncBlobCreatorFailJpeg() {
IntSize testSize(0, 0);
ImageData* imageData = ImageData::create(testSize);
- // We reuse the class MockCanvasAsyncBlobCreatorWithoutCompleteJpeg because this
- // test case is expected to fail at initialization step before completion.
+ // We reuse the class MockCanvasAsyncBlobCreatorWithoutCompleteJpeg because
+ // this test case is expected to fail at initialization step before
+ // completion.
m_asyncBlobCreator = new MockCanvasAsyncBlobCreatorWithoutCompleteJpeg(
imageData->data(), testSize, document());
}

Powered by Google App Engine
This is Rietveld 408576698