Move util.loadImage and util.cancelLoadImage to thumbnail_loader.js.
util.loadImage and util.cancelLoadImage seem to be called only by thumbnail_loader.js. Since common/js/util.js is included by many applications, unnecessarily putting codes in common/js/util.js brings unnecessary dependencies. BUG=433728 TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default Review URL: https://codereview.chromium.org/823593006 Cr-Commit-Position: refs/heads/master@{#309615}
Showing
Please register or sign in to comment