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

Unified Diff: content/renderer/scheduler/renderer_scheduler_impl.h

Issue 902783003: MouseMove when the mouse is down to signal compositor priority (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: content/renderer/scheduler/renderer_scheduler_impl.h
diff --git a/content/renderer/scheduler/renderer_scheduler_impl.h b/content/renderer/scheduler/renderer_scheduler_impl.h
index 0ad18bbdd20c9d9f62e6ff7bdfcd8356ebd94919..32de7d12506b020455049616101a2f8ea66e7686 100644
--- a/content/renderer/scheduler/renderer_scheduler_impl.h
+++ b/content/renderer/scheduler/renderer_scheduler_impl.h
@@ -135,10 +135,11 @@ class CONTENT_EXPORT RendererSchedulerImpl : public RendererScheduler {
base::TimeTicks estimated_next_frame_begin_;
- // The incoming_signals_lock_ mutex protects access to last_input_time_
- // and write access to policy_may_need_update_.
+ // The incoming_signals_lock_ mutex protects access to last_input_time_,
+ // mouse_down_ and write access to policy_may_need_update_.
base::Lock incoming_signals_lock_;
base::TimeTicks last_input_time_;
+ bool mouse_down_;
Sami 2015/02/05 15:27:28 This doesn't seem to be actually protected by the
alex clarke (OOO till 29th) 2015/02/05 17:47:16 Acknowledged.
PollableNeedsUpdateFlag policy_may_need_update_;
scoped_refptr<cc::TestNowSource> time_source_;

Powered by Google App Engine
This is Rietveld 408576698