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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutator.h

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/platform/graphics/CompositorMutator.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutator.h b/third_party/WebKit/Source/platform/graphics/CompositorMutator.h
index 02e52e8e8de76baf527166a9265ae98859e6ff87..450cae232682c26db66fbde2ccd2407a3f6c4c24 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutator.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutator.h
@@ -9,6 +9,8 @@
namespace blink {
+class CompositorMutableStateProvider;
+
class CompositorMutator : public GarbageCollectedFinalized<CompositorMutator> {
public:
virtual ~CompositorMutator() {}
@@ -19,7 +21,7 @@ public:
// connected CompositorWorkers.
// Returns true if any animation callbacks requested an animation frame
// (i.e. should be reinvoked next frame).
- virtual bool mutate(double monotonicTimeNow) = 0;
+ virtual bool mutate(double monotonicTimeNow, CompositorMutableStateProvider*) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698