summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_indexed_db_helper.cc
diff options
context:
space:
mode:
authormkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 13:28:01 +0000
committermkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 13:28:01 +0000
commit45267a9d51bd55c66f60c0662aec66a7a4f1db6a (patch)
tree63553a7190bafb29cabede8a97cae57dda67649b /chrome/browser/browsing_data_indexed_db_helper.cc
parentb4dbcb7a2ca63b975cfa051f0836f5a98c172f03 (diff)
downloadchromium_src-45267a9d51bd55c66f60c0662aec66a7a4f1db6a.zip
chromium_src-45267a9d51bd55c66f60c0662aec66a7a4f1db6a.tar.gz
chromium_src-45267a9d51bd55c66f60c0662aec66a7a4f1db6a.tar.bz2
Fixing addr4 errors in BrowsingDataFileSystemHelper
* Adding a non-empty implementation of CancelNotification(). * reverting 87060 BUG=84226 TEST=Check that Valgrind loves me again. Review URL: http://codereview.chromium.org/7062051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_indexed_db_helper.cc')
-rw-r--r--chrome/browser/browsing_data_indexed_db_helper.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_indexed_db_helper.cc b/chrome/browser/browsing_data_indexed_db_helper.cc
index 7a013c1..0d05dd9 100644
--- a/chrome/browser/browsing_data_indexed_db_helper.cc
+++ b/chrome/browser/browsing_data_indexed_db_helper.cc
@@ -85,7 +85,7 @@ void BrowsingDataIndexedDBHelperImpl::StartFetching(
void BrowsingDataIndexedDBHelperImpl::CancelNotification() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- completion_callback_.reset(NULL);
+ completion_callback_.reset();
}
void BrowsingDataIndexedDBHelperImpl::DeleteIndexedDBFile(
@@ -303,3 +303,8 @@ void CannedBrowsingDataIndexedDBHelper::NotifyInUIThread() {
}
is_fetching_ = false;
}
+
+void CannedBrowsingDataIndexedDBHelper::CancelNotification() {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ completion_callback_.reset();
+}