Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3772)

Unified Diff: chrome/browser/chrome_quota_permission_context.cc

Issue 7640020: Browser should not crash when a page showing a quota infobar is closed/reloaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_quota_permission_context.cc
diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
index 93efece51acd674a685495c8a07062467121b147..d0ec8bc7990a48f8f59d56376d10d1dd169bca4b 100644
--- a/chrome/browser/chrome_quota_permission_context.cc
+++ b/chrome/browser/chrome_quota_permission_context.cc
@@ -48,10 +48,7 @@ class RequestQuotaInfoBarDelegate : public ConfirmInfoBarDelegate {
callback_(callback) {}
private:
- virtual ~RequestQuotaInfoBarDelegate() {
- // Make sure we've dispatched the callback.
- DCHECK(!callback_.get());
michaeln 2011/08/15 17:51:05 The fact that we're tripping on this DCHECK indica
- }
+ virtual ~RequestQuotaInfoBarDelegate() {}
virtual bool ShouldExpire(
const content::LoadCommittedDetails& details)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698