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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_store_file.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error Created 3 years, 7 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
Index: chrome/browser/safe_browsing/safe_browsing_store_file.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.cc b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
index 77fe3b2f6a7a1586e2f81f70b4b87dfd9d75286d..60105301d280ba53eca037da9eb755d02e328434 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
@@ -575,7 +575,7 @@ SafeBrowsingStoreFile::~SafeBrowsingStoreFile() {
}
bool SafeBrowsingStoreFile::CalledOnValidThread() {
- return !task_runner_ || task_runner_->RunsTasksOnCurrentThread();
+ return !task_runner_ || task_runner_->RunsTasksInCurrentSequence();
}
bool SafeBrowsingStoreFile::Delete() {

Powered by Google App Engine
This is Rietveld 408576698