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)); |
Dan Beam
2015/10/20 00:33:38
i have very little clue what this did, but you're
fukino
2015/10/20 04:13:07
Yeah, this code was wrong, but this function is no
|
-}; |
- |
-/** @override */ |
ImageEditor.Mode.Autofix.prototype.isApplicable = function() { |
return this.getImageView().hasValidImage() && |
filter.autofix.isApplicable(this.getHistogram()); |