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

Unified Diff: cc/trees/thread_proxy.cc

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 9fac98bb3490af63272a63cdcee171987260f85d..6ebef6cd2ded70d3711df7361a50c23c2c2ea5f9 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -630,20 +630,6 @@ bool ThreadProxy::SupportsImplScrolling() const {
return true;
}
-void ThreadProxy::SetDebugState(const LayerTreeDebugState& debug_state) {
- Proxy::ImplThreadTaskRunner()->PostTask(
- FROM_HERE,
- base::Bind(&ThreadProxy::SetDebugStateOnImplThread,
- impl_thread_weak_ptr_,
- debug_state));
-}
-
-void ThreadProxy::SetDebugStateOnImplThread(
- const LayerTreeDebugState& debug_state) {
- DCHECK(IsImplThread());
- impl().scheduler->SetContinuousPainting(debug_state.continuous_painting);
-}
-
void ThreadProxy::FinishAllRenderingOnImplThread(CompletionEvent* completion) {
TRACE_EVENT0("cc", "ThreadProxy::FinishAllRenderingOnImplThread");
DCHECK(IsImplThread());

Powered by Google App Engine
This is Rietveld 408576698