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

Unified Diff: cc/trees/mutator_host.h

Issue 2863103002: Reduce composited smooth scroll latency by a frame (also fixes latency UMAs). (Closed)
Patch Set: Cleanup. Created 3 years, 7 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: cc/trees/mutator_host.h
diff --git a/cc/trees/mutator_host.h b/cc/trees/mutator_host.h
index d454539c87476f5c18febf900507e0880151be1e..0c9825107da0afb2d0df8ee0bd2ff202793140be 100644
--- a/cc/trees/mutator_host.h
+++ b/cc/trees/mutator_host.h
@@ -116,7 +116,8 @@ class MutatorHost {
ElementId element_id,
const gfx::ScrollOffset& target_offset,
const gfx::ScrollOffset& current_offset,
- base::TimeDelta delayed_by) = 0;
+ base::TimeDelta delayed_by,
+ base::TimeDelta animation_start_offset) = 0;
virtual bool ImplOnlyScrollAnimationUpdateTarget(
ElementId element_id,
const gfx::Vector2dF& scroll_delta,
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | content/browser/renderer_host/input/scroll_latency_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698