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

Unified Diff: chrome/browser/resources/file_manager/js/photo/ribbon.js

Issue 14320020: Initial restyle of the gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/photo/ribbon.js
diff --git a/chrome/browser/resources/file_manager/js/photo/ribbon.js b/chrome/browser/resources/file_manager/js/photo/ribbon.js
index 2b2f3155352df27c919fcc05eddeb91b5c99a9b1..8ae70cde5dc88726bb5fef2975d04735a3561c41 100644
--- a/chrome/browser/resources/file_manager/js/photo/ribbon.js
+++ b/chrome/browser/resources/file_manager/js/photo/ribbon.js
@@ -335,7 +335,7 @@ Ribbon.prototype.setThumbnailImage_ = function(thumbnail, url, metadata) {
new ThumbnailLoader(url, ThumbnailLoader.LoaderType.IMAGE, metadata).load(
thumbnail.querySelector('.image-wrapper'),
ThumbnailLoader.FillMode.FILL /* fill */,
- ThumbnailLoader.OptimizationMode.NEVER_DISCARD,
+ ThumbnailLoader.OptimizationMode.DISCARD_DETACHED,
null /* success callback */,
this.onThumbnailError_.bind(null, url));
};

Powered by Google App Engine
This is Rietveld 408576698