diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 01:57:56 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 01:57:56 +0000 |
commit | e8035fba00f4ce5971ad80ea8be9abd363c57830 (patch) | |
tree | f4ed9d5eaf13e42211a2e718a56098f211481c4e /chrome/browser/icon_loader.cc | |
parent | 313df978024b5b70ba266e5667d1da00f64aadd4 (diff) | |
download | chromium_src-e8035fba00f4ce5971ad80ea8be9abd363c57830.zip chromium_src-e8035fba00f4ce5971ad80ea8be9abd363c57830.tar.gz chromium_src-e8035fba00f4ce5971ad80ea8be9abd363c57830.tar.bz2 |
Icon loader: respect delegate's response to NotifyDelegate call (false means the delegate doesn't assume ownership).
Review URL: http://codereview.chromium.org/164038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/icon_loader.cc')
-rw-r--r-- | chrome/browser/icon_loader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/icon_loader.cc b/chrome/browser/icon_loader.cc index 75335a7..1978ca5 100644 --- a/chrome/browser/icon_loader.cc +++ b/chrome/browser/icon_loader.cc @@ -29,6 +29,6 @@ void IconLoader::Start() { } void IconLoader::NotifyDelegate() { - delegate_->OnBitmapLoaded(this, bitmap_); - bitmap_ = NULL; + if (delegate_->OnBitmapLoaded(this, bitmap_)) + bitmap_ = NULL; } |