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

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

Issue 2835193002: Get rid of the in_flight_event. (Closed)
Patch Set: 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 | « no previous file | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/main_thread_event_queue.h
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h
index a0b4f715cd59c286075abf0842cbc0e623a75cfe..5001f046fd07f24b6ffa4b14419d12e0e52dacb9 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -101,7 +101,6 @@ class CONTENT_EXPORT MainThreadEventQueue
void QueueEvent(std::unique_ptr<MainThreadEventQueueTask> event);
void PostTaskToMainThread();
void DispatchEvents();
- void DispatchInFlightEvent();
void PossiblyScheduleMainFrame();
void SetNeedsMainFrame();
InputEventAckState HandleEventOnMainThread(
@@ -124,7 +123,6 @@ class CONTENT_EXPORT MainThreadEventQueue
friend class MainThreadEventQueueTest;
friend class MainThreadEventQueueInitializationTest;
MainThreadEventQueueClient* client_;
- std::unique_ptr<MainThreadEventQueueTask> in_flight_event_;
bool last_touch_start_forced_nonblocking_due_to_fling_;
bool enable_fling_passive_listener_flag_;
bool enable_non_blocking_due_to_main_thread_responsiveness_flag_;
« no previous file with comments | « no previous file | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698