| Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| index d8c83a3d5801dc3afc0ff5443529bc2cc5b942f9..0355222f31fbed0b9070339883ba1116a650f125 100644
|
| --- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| +++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
| @@ -249,9 +249,9 @@ void ImageBitmapFactories::ImageBitmapLoader::didFail(FileError::ErrorCode) {
|
|
|
| void ImageBitmapFactories::ImageBitmapLoader::scheduleAsyncImageBitmapDecoding(
|
| DOMArrayBuffer* arrayBuffer) {
|
| - // For a 4000*4000 png image where each 10*10 tile is filled in by a random RGBA value,
|
| - // the byteLength is around 2M, and it typically takes around 4.5ms to decode on a
|
| - // current model of Linux desktop.
|
| + // For a 4000*4000 png image where each 10*10 tile is filled in by a random
|
| + // RGBA value, the byteLength is around 2M, and it typically takes around
|
| + // 4.5ms to decode on a current model of Linux desktop.
|
| const int longTaskByteLengthThreshold = 2000000;
|
| BackgroundTaskRunner::TaskSize taskSize =
|
| BackgroundTaskRunner::TaskSizeShortRunningTask;
|
|
|