DescriptionMove 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
Committed: https://crrev.com/d0e9b7d3f2c1003e3236b3086df43f098b0436af
Cr-Commit-Position: refs/heads/master@{#309615}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove the 2 functions. #Patch Set 3 : Fix error function. #
Messages
Total messages: 17 (4 generated)
|