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

Unified Diff: ui/accelerated_widget_mac/window_resize_helper_mac.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: fixed build error and commments Created 3 years, 8 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: 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

Powered by Google App Engine
This is Rietveld 408576698