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

Unified Diff: ui/accelerated_widget_mac/window_resize_helper_mac.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase & remove inline keyword 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
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/child/single_thread_idle_task_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/window_resize_helper_mac.cc
diff --git a/ui/accelerated_widget_mac/window_resize_helper_mac.cc b/ui/accelerated_widget_mac/window_resize_helper_mac.cc
index 88bf682aae6ceaa53f2f11dbf1d0058210bcd354..9d6c94492179f07b5d78f4d9b1985709086b5eac 100644
--- a/ui/accelerated_widget_mac/window_resize_helper_mac.cc
+++ b/ui/accelerated_widget_mac/window_resize_helper_mac.cc
@@ -81,7 +81,7 @@ class PumpableTaskRunner : public base::SingleThreadTaskRunner {
base::OnceClosure task,
base::TimeDelta delay) override;
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
private:
friend class WrappedTask;
@@ -276,8 +276,8 @@ bool PumpableTaskRunner::PostNonNestableDelayedTask(
return false;
}
-bool PumpableTaskRunner::RunsTasksOnCurrentThread() const {
- return target_task_runner_->RunsTasksOnCurrentThread();
+bool PumpableTaskRunner::RunsTasksInCurrentSequence() const {
+ return target_task_runner_->RunsTasksInCurrentSequence();
}
} // namespace
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/child/single_thread_idle_task_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698