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

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

Issue 448973003: Gallery: Fix undo of cropping images. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 4 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/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js ('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_view.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_view.js b/ui/file_manager/gallery/js/image_editor/image_view.js
index da9311cc5280b522f2ba49aefbde05aa2d3ac7c3..53237fed12d457ebe714436bfbced641bb18359c 100644
--- a/ui/file_manager/gallery/js/image_editor/image_view.js
+++ b/ui/file_manager/gallery/js/image_editor/image_view.js
@@ -643,7 +643,7 @@ ImageView.prototype.animateAndReplace = function(canvas, imageCropRect) {
imageCropRect);
// Animate to the transformed state.
- this.setTransform_(oldScreenImage, this,viewport_, effect);
+ this.setTransform_(oldScreenImage, this.viewport_, effect);
setTimeout(setFade.bind(null, false), 0);
setTimeout(function() {
if (oldScreenImage.parentNode)
« no previous file with comments | « chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698