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

Unified Diff: cc/scheduler/begin_frame_source.h

Issue 891953003: make BeginFrameSourceMixIn's SetNeedsBeginFrame final (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modify by simon`s guide 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
« no previous file with comments | « no previous file | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.h
diff --git a/cc/scheduler/begin_frame_source.h b/cc/scheduler/begin_frame_source.h
index d3dd9de2659f0d8db53c2a42563372a251f5313a..d20a7ac15766073c3b54062bb5e967432569eda8 100644
--- a/cc/scheduler/begin_frame_source.h
+++ b/cc/scheduler/begin_frame_source.h
@@ -138,7 +138,7 @@ class CC_EXPORT BeginFrameSourceMixIn : public BeginFrameSource {
// BeginFrameSource
bool NeedsBeginFrames() const override;
- void SetNeedsBeginFrames(bool needs_begin_frames) override;
+ void SetNeedsBeginFrames(bool needs_begin_frames) final;
void DidFinishFrame(size_t remaining_frames) override {}
void AddObserver(BeginFrameObserver* obs) final;
void RemoveObserver(BeginFrameObserver* obs) final;
@@ -261,9 +261,11 @@ class CC_EXPORT BeginFrameSourceMultiplexer : public BeginFrameSourceMixIn,
// BeginFrameSource
bool NeedsBeginFrames() const override;
- void SetNeedsBeginFrames(bool needs_begin_frames) override;
void DidFinishFrame(size_t remaining_frames) override;
+ // BeginFrameSourceMixIn
+ void OnNeedsBeginFramesChange(bool needs_begin_frames) override;
+
// Tracing
void AsValueInto(base::debug::TracedValue* dict) const override;
« no previous file with comments | « no previous file | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698