| Index: ui/file_manager/gallery/js/image_editor/image_util.js
|
| diff --git a/ui/file_manager/gallery/js/image_editor/image_util.js b/ui/file_manager/gallery/js/image_editor/image_util.js
|
| index bcd5696a03c51b0cd46e3fac207333bfdbb092e4..c16c64580a5b8a3c8e0871665d9ad04112ce722f 100644
|
| --- a/ui/file_manager/gallery/js/image_editor/image_util.js
|
| +++ b/ui/file_manager/gallery/js/image_editor/image_util.js
|
| @@ -489,14 +489,9 @@ ImageUtil.ImageLoader.prototype.load = function(
|
| // general error should not be specified
|
| this.image_.onerror = onError.bind(this, 'GALLERY_IMAGE_ERROR');
|
|
|
| - // Extract the last modification date to determine if the cached image
|
| - // is outdated.
|
| - var modificationTime = opt_metadata &&
|
| - opt_metadata.modificationTime &&
|
| - opt_metadata.modificationTime.getTime();
|
| -
|
| - // Load the image directly.
|
| - this.image_.src = entry.toURL();
|
| + // Load the image directly. The query parameter is workaround for
|
| + // crbug.com/379678, which force to update the contents of the image.
|
| + this.image_.src = entry.toURL() + "?nocache=" + Date.now();
|
| }.bind(this);
|
|
|
| // Loads the image. If already loaded, then forces a reload.
|
|
|