| Index: ui/file_manager/gallery/js/image_editor/image_adjust.js
|
| diff --git a/ui/file_manager/gallery/js/image_editor/image_adjust.js b/ui/file_manager/gallery/js/image_editor/image_adjust.js
|
| index 5592c61fb9eaa16ec7ea7df251aa5805bc1bdb46..8c1b1c6953eca83a108261252b4625178898d19f 100644
|
| --- a/ui/file_manager/gallery/js/image_editor/image_adjust.js
|
| +++ b/ui/file_manager/gallery/js/image_editor/image_adjust.js
|
| @@ -33,7 +33,7 @@ ImageEditor.Mode.Adjust = function(name, title) {
|
| this.viewportGeneration_ = 0;
|
|
|
| /**
|
| - * @type {?string}
|
| + * @type {?function(!ImageData,!ImageData,number,number)}
|
| * @private
|
| */
|
| this.filter_ = null;
|
| @@ -232,12 +232,6 @@ ImageEditor.Mode.Autofix.prototype =
|
| {__proto__: ImageEditor.Mode.ColorFilter.prototype};
|
|
|
| /** @override */
|
| -ImageEditor.Mode.Autofix.prototype.createTools = function(toolbar) {
|
| - var self = this;
|
| - toolbar.addButton('Apply', 'Apply', this.apply.bind(this));
|
| -};
|
| -
|
| -/** @override */
|
| ImageEditor.Mode.Autofix.prototype.isApplicable = function() {
|
| return this.getImageView().hasValidImage() &&
|
| filter.autofix.isApplicable(this.getHistogram());
|
|
|