| Index: ui/file_manager/gallery/js/image_editor/commands.js
|
| diff --git a/ui/file_manager/gallery/js/image_editor/commands.js b/ui/file_manager/gallery/js/image_editor/commands.js
|
| index e67907d04ecd9d778ba01ea948b6c748bbd5c953..17aac5abb6382b300fa07febcbf13e669e5351f7 100644
|
| --- a/ui/file_manager/gallery/js/image_editor/commands.js
|
| +++ b/ui/file_manager/gallery/js/image_editor/commands.js
|
| @@ -415,9 +415,7 @@ Command.Filter.prototype = { __proto__: Command.prototype };
|
| Command.Filter.prototype.execute = function(
|
| document, srcCanvas, callback, uiContext) {
|
| var result = this.createCanvas_(document, srcCanvas);
|
| -
|
| var self = this;
|
| -
|
| var previousRow = 0;
|
|
|
| function onProgressVisible(updatedRow, rowCount) {
|
| @@ -438,8 +436,7 @@ Command.Filter.prototype.execute = function(
|
| screenStrip.height =
|
| Math.round(viewport.imageToScreenY(updatedRow)) - screenStrip.top;
|
|
|
| - uiContext.imageView.paintDeviceRect(
|
| - viewport.screenToDeviceRect(screenStrip), result, imageStrip);
|
| + uiContext.imageView.paintDeviceRect(result, imageStrip);
|
| previousRow = updatedRow;
|
| }
|
| }
|
|
|