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

Unified Diff: trunk/src/content/renderer/input/input_handler_proxy.cc

Issue 254883004: Revert 266624 "cc: Split animating and drawing into separate act..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/content/renderer/input/input_handler_proxy.cc
===================================================================
--- trunk/src/content/renderer/input/input_handler_proxy.cc (revision 266894)
+++ trunk/src/content/renderer/input/input_handler_proxy.cc (working copy)
@@ -338,7 +338,7 @@
WebPoint(gesture_event.globalX, gesture_event.globalY);
fling_parameters_.modifiers = gesture_event.modifiers;
fling_parameters_.sourceDevice = gesture_event.sourceDevice;
- input_handler_->SetNeedsAnimate();
+ input_handler_->ScheduleAnimation();
return DID_HANDLE;
}
case cc::InputHandler::ScrollUnknown:
@@ -378,7 +378,7 @@
if (!fling_parameters_.startTime ||
monotonic_time_sec <= fling_parameters_.startTime) {
fling_parameters_.startTime = monotonic_time_sec;
- input_handler_->SetNeedsAnimate();
+ input_handler_->ScheduleAnimation();
return;
}
@@ -390,7 +390,7 @@
fling_is_active = false;
if (fling_is_active) {
- input_handler_->SetNeedsAnimate();
+ input_handler_->ScheduleAnimation();
} else {
TRACE_EVENT_INSTANT0("input",
"InputHandlerProxy::animate::flingOver",
« no previous file with comments | « trunk/src/cc/trees/thread_proxy.cc ('k') | trunk/src/content/renderer/input/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698