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

Unified Diff: cc/surfaces/display_scheduler.h

Issue 2183333003: cc: Post the missed BeginFrame to a new stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: post-swapcomplete: ignoreresult Created 4 years, 5 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 | cc/surfaces/display_scheduler.cc » ('j') | cc/surfaces/display_scheduler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display_scheduler.h
diff --git a/cc/surfaces/display_scheduler.h b/cc/surfaces/display_scheduler.h
index 16d086814225dd2d78e027bfbb6067437ad572de..87e82b5a26754e7cd04e05130a91b103858a7cbd 100644
--- a/cc/surfaces/display_scheduler.h
+++ b/cc/surfaces/display_scheduler.h
@@ -68,6 +68,9 @@ class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverBase {
base::CancelableClosure begin_frame_deadline_task_;
base::TimeTicks begin_frame_deadline_task_time_;
+ base::CancelableClosure missed_begin_frame_task_;
+ bool inside_add_observer_ = false;
sunnyps 2016/07/27 02:00:14 nit: TBH it's not AddObserver that we really care
danakj 2016/07/27 02:19:05 I can call this inside_external_action_, which I'v
+
bool output_surface_lost_;
bool root_surface_resources_locked_;
« no previous file with comments | « no previous file | cc/surfaces/display_scheduler.cc » ('j') | cc/surfaces/display_scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698