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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: nits Created 6 years, 2 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/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 344dfb97f66df586e94ef01a0717426831627db9..99099118d80d6d427e9cb1aea5c6c6442c183427 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -362,12 +362,6 @@ void SingleThreadProxy::SetNeedsRedrawRectOnImplThread(
SetNeedsRedrawOnImplThread();
}
-void SingleThreadProxy::DidInitializeVisibleTileOnImplThread() {
- TRACE_EVENT0("cc", "SingleThreadProxy::DidInitializeVisibleTileOnImplThread");
- if (scheduler_on_impl_thread_)
- scheduler_on_impl_thread_->SetNeedsRedraw();
-}
-
void SingleThreadProxy::SetNeedsCommitOnImplThread() {
client_->ScheduleComposite();
if (scheduler_on_impl_thread_)
@@ -741,11 +735,6 @@ void SingleThreadProxy::ScheduledActionAnimate() {
layer_tree_host_impl_->CurrentBeginFrameArgs().frame_time);
}
-void SingleThreadProxy::ScheduledActionUpdateVisibleTiles() {
- DebugScopedSetImplThread impl(this);
- layer_tree_host_impl_->UpdateVisibleTiles();
-}
-
void SingleThreadProxy::ScheduledActionActivateSyncTree() {
DebugScopedSetImplThread impl(this);
layer_tree_host_impl_->ActivateSyncTree();

Powered by Google App Engine
This is Rietveld 408576698