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

Unified Diff: chrome/browser/resources/file_manager/js/image_editor/image_view.js

Issue 10829421: First cut of the updated Photo Editor UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 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
Index: chrome/browser/resources/file_manager/js/image_editor/image_view.js
diff --git a/chrome/browser/resources/file_manager/js/image_editor/image_view.js b/chrome/browser/resources/file_manager/js/image_editor/image_view.js
index f3a1e5d3bb705096096b9fc11a69d2a69be75b98..0b2ee7434cd86b8de94dc4f3c6aca79f1cf44df5 100644
--- a/chrome/browser/resources/file_manager/js/image_editor/image_view.js
+++ b/chrome/browser/resources/file_manager/js/image_editor/image_view.js
@@ -495,6 +495,7 @@ ImageView.prototype.changeUrl = function(newUrl) {
*/
ImageView.prototype.unload = function() {
this.container_.textContent = '';
+ this.contentCanvas_ = null;
this.screenImage_ = null;
this.videoElement_ = null;
};

Powered by Google App Engine
This is Rietveld 408576698