Index: chrome/browser/browsing_data_database_helper.cc |
=================================================================== |
--- chrome/browser/browsing_data_database_helper.cc (revision 40156) |
+++ chrome/browser/browsing_data_database_helper.cc (working copy) |
@@ -86,8 +86,10 @@ |
DCHECK(is_fetching_); |
// Note: completion_callback_ mutates only in the UI thread, so it's safe to |
// test it here. |
- if (completion_callback_ != NULL) |
+ if (completion_callback_ != NULL) { |
completion_callback_->Run(database_info_); |
+ completion_callback_.reset(); |
+ } |
is_fetching_ = false; |
database_info_.clear(); |
} |