Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: ui/file_manager/gallery/js/image_editor/image_transform.js

Issue 354543002: Gallery.app: Fix removeEventListener call in Gallery.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_manager_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/image_editor/image_transform.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_transform.js b/ui/file_manager/gallery/js/image_editor/image_transform.js
index 776b9be914c1a554a764e8b258ff3d53fab4c418..0daebe50514e0ffcee783ca7eb05d3266acdaf01 100644
--- a/ui/file_manager/gallery/js/image_editor/image_transform.js
+++ b/ui/file_manager/gallery/js/image_editor/image_transform.js
@@ -125,7 +125,7 @@ ImageEditor.Mode.Crop.prototype.cleanUpUI = function() {
this.domOverlay_.parentNode.removeChild(this.domOverlay_);
this.domOverlay_ = null;
this.editor_.hideOverlappingTools();
- window.removeEventListener(this.onResizedBound_);
+ window.removeEventListener('resize', this.onResizedBound_);
this.onResizedBound_ = null;
};
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_manager_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698