summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/input/mouse_wheel_event_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/input/mouse_wheel_event_queue.h')
-rw-r--r--content/browser/renderer_host/input/mouse_wheel_event_queue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.h b/content/browser/renderer_host/input/mouse_wheel_event_queue.h
index 3c9802e..b5ad7f2 100644
--- a/content/browser/renderer_host/input/mouse_wheel_event_queue.h
+++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.h
@@ -70,7 +70,9 @@ class CONTENT_EXPORT MouseWheelEventQueue {
}
size_t queued_size() const { return wheel_queue_.size(); }
- bool event_in_flight() const { return event_sent_for_gesture_ack_; }
+ bool event_in_flight() const {
+ return event_sent_for_gesture_ack_ != nullptr;
+ }
private:
void TryForwardNextEventToRenderer();