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

Unified Diff: cc/trees/thread_proxy.cc

Issue 194543002: Removing base::Time from SetAnimationEvents and PostAnimationEventsToMainThreadOnImplThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unused last_animation_time_ as well. Created 6 years, 9 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 | « cc/trees/thread_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 0dbeda2eb3303e732c3aa245dcd67a1b5d236c67..c2a2e634954cd4cdf7e428f2b0638351368a71b3 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -481,8 +481,7 @@ void ThreadProxy::SetNeedsCommitOnImplThread() {
}
void ThreadProxy::PostAnimationEventsToMainThreadOnImplThread(
- scoped_ptr<AnimationEventsVector> events,
- base::Time wall_clock_time) {
+ scoped_ptr<AnimationEventsVector> events) {
TRACE_EVENT0("cc",
"ThreadProxy::PostAnimationEventsToMainThreadOnImplThread");
DCHECK(IsImplThread());
@@ -490,8 +489,7 @@ void ThreadProxy::PostAnimationEventsToMainThreadOnImplThread(
FROM_HERE,
base::Bind(&ThreadProxy::SetAnimationEvents,
main_thread_weak_ptr_,
- base::Passed(&events),
- wall_clock_time));
+ base::Passed(&events)));
}
bool ThreadProxy::ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
@@ -1420,13 +1418,12 @@ void ThreadProxy::DidCompleteSwapBuffers() {
layer_tree_host()->DidCompleteSwapBuffers();
}
-void ThreadProxy::SetAnimationEvents(scoped_ptr<AnimationEventsVector> events,
- base::Time wall_clock_time) {
+void ThreadProxy::SetAnimationEvents(scoped_ptr<AnimationEventsVector> events) {
TRACE_EVENT0("cc", "ThreadProxy::SetAnimationEvents");
DCHECK(IsMainThread());
if (!layer_tree_host())
return;
- layer_tree_host()->SetAnimationEvents(events.Pass(), wall_clock_time);
+ layer_tree_host()->SetAnimationEvents(events.Pass());
}
void ThreadProxy::CreateAndInitializeOutputSurface() {
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698