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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.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: rebase 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/CompositorMutableStateTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
index 29f7353d4bbf72ed866887bd25f0f6803b68a32f..3d7c5d2ecd7f2415d900bf2fa7e73ade9cefc885 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
@@ -80,7 +80,7 @@ TEST_F(CompositorMutableStateTest, NoMutableState)
CompositorMutations mutations;
CompositorMutableStateProvider provider(hostImpl().active_tree(), &mutations);
- OwnPtr<CompositorMutableState> state(provider.getMutableStateFor(42));
+ std::unique_ptr<CompositorMutableState> state(provider.getMutableStateFor(42));
EXPECT_FALSE(state);
}
@@ -114,7 +114,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties)
CompositorMutations mutations;
CompositorMutableStateProvider provider(hostImpl().active_tree(), &mutations);
- OwnPtr<CompositorMutableState> state(provider.getMutableStateFor(primaryId));
+ std::unique_ptr<CompositorMutableState> state(provider.getMutableStateFor(primaryId));
EXPECT_TRUE(state.get());
EXPECT_EQ(1.0, rootLayer()->Opacity());

Powered by Google App Engine
This is Rietveld 408576698