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

Unified Diff: content/renderer/input/main_thread_event_queue_task_list.h

Issue 2793963002: Allow events in queue to coalesce while executing other events. (Closed)
Patch Set: Fix nits 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
« no previous file with comments | « content/renderer/input/main_thread_event_queue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/main_thread_event_queue_task_list.h
diff --git a/content/renderer/input/main_thread_event_queue_task_list.h b/content/renderer/input/main_thread_event_queue_task_list.h
index 9d46a61007e2438c4fd64a9023eb1852d42f18d1..b9a81d2ad98ab0c80e73b07001be6419a4e6a2ef 100644
--- a/content/renderer/input/main_thread_event_queue_task_list.h
+++ b/content/renderer/input/main_thread_event_queue_task_list.h
@@ -31,13 +31,6 @@ class MainThreadEventQueueTaskList {
return queue_.at(pos);
}
- void emplace_front(std::unique_ptr<MainThreadEventQueueTask> event) {
- queue_.emplace_front(std::move(event));
- }
- void swap(std::deque<std::unique_ptr<MainThreadEventQueueTask>>* queue) {
- queue_.swap(*queue);
- }
-
bool empty() const { return queue_.empty(); }
size_t size() const { return queue_.size(); }
« no previous file with comments | « content/renderer/input/main_thread_event_queue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698