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

Unified Diff: cc/scheduler/scheduler.h

Issue 2352823002: cc: Remove estimated parent draw time from renderer (Closed)
Patch Set: Rebase Created 4 years, 3 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/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 3d7a3721888aac87939b4df27c69b9aecf1bc6d6..ce505584a9574398822a3fca975bcebceeace793 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -72,8 +72,6 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
const SchedulerSettings& settings() const { return settings_; }
- void SetEstimatedParentDrawTime(base::TimeDelta draw_time);
-
void SetVisible(bool visible);
bool visible() { return state_machine_.visible(); }
void SetCanDraw(bool can_draw);
@@ -161,7 +159,6 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
bool observing_begin_frame_source_;
std::unique_ptr<CompositorTimingHistory> compositor_timing_history_;
- base::TimeDelta estimated_parent_draw_time_;
std::deque<BeginFrameArgs> begin_retro_frame_args_;
SchedulerStateMachine::BeginImplFrameDeadlineMode
@@ -205,10 +202,6 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
void OnBeginImplFrameDeadline();
void PollToAdvanceCommitState();
- base::TimeDelta EstimatedParentDrawTime() {
- return estimated_parent_draw_time_;
- }
-
bool IsInsideAction(SchedulerStateMachine::Action action) {
return inside_action_ == action;
}
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698