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

Unified Diff: content/browser/renderer_host/pepper/quota_reservation.cc

Issue 2873333004: Rename TaskRunner::RunsTasksOnCurrentThread() in //content (Closed)
Patch Set: 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: content/browser/renderer_host/pepper/quota_reservation.cc
diff --git a/content/browser/renderer_host/pepper/quota_reservation.cc b/content/browser/renderer_host/pepper/quota_reservation.cc
index 32eb4749ecf736f9abc4f425fc6d64a301d9701e..2cc4300019317df8cca83194a321a70dc27bbc1b 100644
--- a/content/browser/renderer_host/pepper/quota_reservation.cc
+++ b/content/browser/renderer_host/pepper/quota_reservation.cc
@@ -134,7 +134,7 @@ void QuotaReservation::GotReservedQuota(const ReserveQuotaCallback& callback,
void QuotaReservation::DeleteOnCorrectThread() const {
if (file_system_context_.get() &&
!file_system_context_->default_file_task_runner()
- ->RunsTasksOnCurrentThread()) {
+ ->RunsTasksInCurrentSequence()) {
file_system_context_->default_file_task_runner()->DeleteSoon(FROM_HERE,
this);
} else {
« no previous file with comments | « content/browser/plugin_private_storage_helper.cc ('k') | content/browser/tracing/memory_tracing_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698