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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern Created 4 years, 6 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: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
index e3c52ac299d794b93f11c6551117d36cf6f7d111..211ea5443aeb1fd0034f5f7b32b5a57b41882360 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
@@ -56,7 +56,7 @@ CompositorMutatorImpl* CompositorMutatorImpl::create()
return new CompositorMutatorImpl();
}
-bool CompositorMutatorImpl::mutate(double monotonicTimeNow)
+bool CompositorMutatorImpl::mutate(double monotonicTimeNow, CompositorMutableStateProvider* stateProvider)
{
TRACE_EVENT0("compositor-worker", "CompositorMutatorImpl::mutate");
bool needToReinvoke = false;
@@ -64,7 +64,7 @@ bool CompositorMutatorImpl::mutate(double monotonicTimeNow)
// callbacks if none of the proxies in the global scope are affected by
// m_mutations.
for (CompositorProxyClientImpl* client : m_proxyClients) {
- if (client->mutate(monotonicTimeNow))
+ if (client->mutate(monotonicTimeNow, stateProvider))
needToReinvoke = true;
}
« no previous file with comments | « third_party/WebKit/Source/web/CompositorMutatorImpl.h ('k') | third_party/WebKit/Source/web/CompositorProxyClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698