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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 791373003: Add Set Authoritative VSync Interval function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index d192a9aaa88d0fea68d586a193dda2f6e443fbc5..07af10bbd7b3a7bf1cabd62431d700e1317667fe 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1378,6 +1378,11 @@ SurfaceSequence LayerTreeHost::CreateSurfaceSequence() {
return SurfaceSequence(surface_id_namespace_, next_surface_sequence_++);
}
+void LayerTreeHost::SetAuthoritativeVSyncInterval(
+ base::TimeDelta interval) const {
+ proxy_->SetAuthoritativeVSyncInterval(interval);
+}
+
void LayerTreeHost::SetChildrenNeedBeginFrames(
bool children_need_begin_frames) const {
proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames);

Powered by Google App Engine
This is Rietveld 408576698