Commit 21de4b31 authored by kinuko@chromium.org's avatar kinuko@chromium.org

Browser should not crash when a page showing a quota infobar is closed/reloaded

BUG=92620
TEST=no crash

Review URL: http://codereview.chromium.org/7640020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96751 0039d316-1c4b-4281-b951-d872f2087c98
parent 7bb0be63
...@@ -48,10 +48,7 @@ class RequestQuotaInfoBarDelegate : public ConfirmInfoBarDelegate { ...@@ -48,10 +48,7 @@ class RequestQuotaInfoBarDelegate : public ConfirmInfoBarDelegate {
callback_(callback) {} callback_(callback) {}
private: private:
virtual ~RequestQuotaInfoBarDelegate() { virtual ~RequestQuotaInfoBarDelegate() {}
// Make sure we've dispatched the callback.
DCHECK(!callback_.get());
}
virtual bool ShouldExpire( virtual bool ShouldExpire(
const content::LoadCommittedDetails& details) const content::LoadCommittedDetails& details)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment