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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.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/CanvasAsyncBlobCreator.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
index 49dee7fd3d1d085d3ba4d344a6be29bea3e0819b..5d8a2e90bbc1daf6838a7b258090589d8bb53624 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
@@ -31,7 +31,8 @@ const double SlackBeforeDeadline =
const int NumChannelsPng = 4;
const int LongTaskImageSizeThreshold =
1000 *
- 1000; // The max image size we expect to encode in 14ms on Linux in PNG format
+ 1000; // The max image size we expect to encode in 14ms on Linux in PNG
+ // format
// The encoding task is highly likely to switch from idle task to alternative
// code path when the startTimeoutDelay is set to be below 150ms. As we want the
@@ -143,8 +144,10 @@ void CanvasAsyncBlobCreator::scheduleAsyncBlobCreation(
this->scheduleInitiateJpegEncoding(quality);
} else {
// Progressive encoding is only applicable to png and jpeg image format,
- // and thus idle tasks scheduling can only be applied to these image formats.
- // TODO(xlai): Progressive encoding on webp image formats (crbug.com/571399)
+ // and thus idle tasks scheduling can only be applied to these image
+ // formats.
+ // TODO(xlai): Progressive encoding on webp image formats
+ // (crbug.com/571399)
ASSERT_NOT_REACHED();
}
// We post the below task to check if the above idle task isn't late.

Powered by Google App Engine
This is Rietveld 408576698