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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 8 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/CompositorMutatorClientTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
index ca0f1f7b4d99962ddc52c9ce01779af265f592ed..7d20ecc061bb4ded366ab2f4eaa5236960668f0d 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
@@ -25,7 +25,7 @@ TEST(CompositorMutatorClient, CallbackForNonNullMutationsShouldApply)
{
MockCompositoMutationsTarget target;
- CompositorMutatorClient client(&target);
+ CompositorMutatorClient client(nullptr, &target);
OwnPtr<CompositorMutations> mutations = adoptPtr(new CompositorMutations());
client.setMutationsForTesting(mutations.release());
@@ -36,7 +36,7 @@ TEST(CompositorMutatorClient, CallbackForNonNullMutationsShouldApply)
TEST(CompositorMutatorClient, CallbackForNullMutationsShouldBeNoop)
{
MockCompositoMutationsTarget target;
- CompositorMutatorClient client(&target);
+ CompositorMutatorClient client(nullptr, &target);
EXPECT_CALL(target, applyMutations(_)).Times(0);
EXPECT_TRUE(client.TakeMutations().is_null());

Powered by Google App Engine
This is Rietveld 408576698