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

Unified Diff: third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h

Issue 2908073008: Remove a frame of delay on main-thread FlingStart. [2nd land] (Closed)
Patch Set: Fix pad-gesture-fling properlyy 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: third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h
diff --git a/third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h b/third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h
index 45b29d4fab8393f6e05af5d97f3e555b62134922..e1adc588e050e6e4c1643bcde6232222940d2c79 100644
--- a/third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h
+++ b/third_party/WebKit/Source/platform/exported/WebActiveGestureAnimation.h
@@ -46,9 +46,6 @@ class PLATFORM_EXPORT WebActiveGestureAnimation {
WTF_MAKE_NONCOPYABLE(WebActiveGestureAnimation);
public:
- static std::unique_ptr<WebActiveGestureAnimation> CreateAtAnimationStart(
- std::unique_ptr<WebGestureCurve>,
- WebGestureCurveTarget*);
static std::unique_ptr<WebActiveGestureAnimation> CreateWithTimeOffset(
std::unique_ptr<WebGestureCurve>,
WebGestureCurveTarget*,
@@ -61,11 +58,9 @@ class PLATFORM_EXPORT WebActiveGestureAnimation {
// Assumes a valid WebGestureCurveTarget that outlives the animation.
WebActiveGestureAnimation(std::unique_ptr<WebGestureCurve>,
WebGestureCurveTarget*,
- double start_time,
- bool waiting_for_first_tick);
+ double start_time);
double start_time_;
- bool waiting_for_first_tick_;
std::unique_ptr<WebGestureCurve> curve_;
WebGestureCurveTarget* target_;
};

Powered by Google App Engine
This is Rietveld 408576698