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

Unified Diff: ui/file_manager/gallery/js/ribbon.js

Issue 287063006: Gallery: Fix property names referred in the Ribbon class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « ui/file_manager/file_manager/foreground/js/photo/ribbon.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/ribbon.js
diff --git a/ui/file_manager/gallery/js/ribbon.js b/ui/file_manager/gallery/js/ribbon.js
index a95c0f9c63e70bd66968547c4697d001a4acc49d..779d97ce7aa5f408769b580939da0a74267e16e4 100644
--- a/ui/file_manager/gallery/js/ribbon.js
+++ b/ui/file_manager/gallery/js/ribbon.js
@@ -344,7 +344,7 @@ Ribbon.prototype.setThumbnailImage_ = function(thumbnail, entry, metadata) {
*/
Ribbon.prototype.onContentChange_ = function(event) {
var url = event.item.getEntry().toURL();
- this.remapCache_(event.oldUrl, url);
+ this.remapCache_(event.oldEntry.toURL(), url);
var thumbnail = this.renderCache_[url];
if (thumbnail && event.metadata)
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/photo/ribbon.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698