| Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
|
| index ac49555e53f7ef664556cab584d2c2e7f71aeb1f..5d8f5f8e7a93608c66d6c9cf71eefdb79a107b57 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
|
| @@ -38,14 +38,16 @@ class CORE_EXPORT CanvasAsyncBlobCreator
|
| MimeTypeWebp,
|
| NumberOfMimeTypeSupported
|
| };
|
| - // This enum is used to back an UMA histogram, and should therefore be treated as append-only.
|
| + // This enum is used to back an UMA histogram, and should therefore be treated
|
| + // as append-only.
|
| enum IdleTaskStatus {
|
| IdleTaskNotStarted,
|
| IdleTaskStarted,
|
| IdleTaskCompleted,
|
| IdleTaskFailed,
|
| IdleTaskSwitchedToMainThreadTask,
|
| - IdleTaskNotSupported, // Idle tasks are not implemented for some image types
|
| + IdleTaskNotSupported, // Idle tasks are not implemented for some image
|
| + // types
|
| IdleTaskCount, // Should not be seen in production
|
| };
|
| // Methods are virtual for mocking in unit tests
|
| @@ -105,8 +107,8 @@ class CORE_EXPORT CanvasAsyncBlobCreator
|
|
|
| // JPEG
|
| bool initializeJpegStruct(double quality);
|
| - void
|
| - encodeRowsJpegOnMainThread(); // Similar to idleEncodeRowsJpeg without deadline
|
| + void encodeRowsJpegOnMainThread(); // Similar to idleEncodeRowsJpeg without
|
| + // deadline
|
|
|
| // WEBP
|
| void encodeImageOnEncoderThread(double quality);
|
|
|