diff options
author | mek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 23:23:32 +0000 |
---|---|---|
committer | mek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 23:23:32 +0000 |
commit | c8b8587beba4f52037eaefcba5f9207269ee2be2 (patch) | |
tree | c7ee63cf75f9b5a95bd94d31c3e88f7ae0a1aa37 /chrome/browser/browser_about_handler.cc | |
parent | f1b7f11d41b2c4b22b9538ee0127b7aca35c3b27 (diff) | |
download | chromium_src-c8b8587beba4f52037eaefcba5f9207269ee2be2.zip chromium_src-c8b8587beba4f52037eaefcba5f9207269ee2be2.tar.gz chromium_src-c8b8587beba4f52037eaefcba5f9207269ee2be2.tar.bz2 |
Use PostTaskAndReply and a WeakPtr to handle the case of ImageLoader being deleted before loading an image has finished.
Turns LoadImagesOnBlockingPool into a non-member method, and also removes some dead code
from there. ReplyBack is kept as a member since even if it doesn't access any ImageLoader
state at the moment (there is no state), if in the future we might want to add caching,
ReplyBack will be the point to store data in the cache.
BUG=141673
Review URL: https://chromiumcodereview.appspot.com/11421032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
0 files changed, 0 insertions, 0 deletions