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

Unified Diff: webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc

Issue 185643002: Making the delegate adapter use monotonic only API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc
diff --git a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc b/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc
index c042bb66d64505188506b725927dbd6e6602ed4c..90756f1e550a5be36f28891199388e005149cade 100644
--- a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc
+++ b/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc
@@ -17,7 +17,6 @@ void WebToCCAnimationDelegateAdapter::NotifyAnimationStarted(
base::TimeTicks monotonic_time,
cc::Animation::TargetProperty target_property) {
delegate_->notifyAnimationStarted(
ajuma 2014/03/03 15:26:04 Suggestion: Do this CL first, using an #ifdef so t
- wall_clock_time,
(monotonic_time - base::TimeTicks()).InSecondsF(),
static_cast<blink::WebAnimation::TargetProperty>(target_property));
}
@@ -27,7 +26,6 @@ void WebToCCAnimationDelegateAdapter::NotifyAnimationFinished(
base::TimeTicks monotonic_time,
cc::Animation::TargetProperty target_property) {
delegate_->notifyAnimationFinished(
- wall_clock_time,
(monotonic_time - base::TimeTicks()).InSecondsF(),
static_cast<blink::WebAnimation::TargetProperty>(target_property));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698