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

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

Issue 2018833002: cc : Delete LayerImpl::opacity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CompositorMutableState.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0c9ed637a4b5010ff136882a69ce7ddfd031eec7..bd06f90e472914a5fa516aaa1a9b69f4c5713813 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
@@ -132,7 +132,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties)
OwnPtr<CompositorMutableState> state(provider.getMutableStateFor(layer->element_id()));
EXPECT_TRUE(state.get());
- EXPECT_EQ(1.0, rootLayer()->opacity());
+ EXPECT_EQ(1.0, rootLayer()->Opacity());
EXPECT_EQ(gfx::Transform().ToString(), rootLayer()->transform().ToString());
EXPECT_EQ(0.0, layer->CurrentScrollOffset().x());
EXPECT_EQ(0.0, layer->CurrentScrollOffset().y());
@@ -143,7 +143,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties)
state->setScrollLeft(1.0);
state->setScrollTop(1.0);
- EXPECT_EQ(0.5, rootLayer()->opacity());
+ EXPECT_EQ(0.5, rootLayer()->Opacity());
EXPECT_EQ(zero.ToString(), rootLayer()->transform().ToString());
EXPECT_EQ(1.0, layer->CurrentScrollOffset().x());
EXPECT_EQ(1.0, layer->CurrentScrollOffset().y());
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CompositorMutableState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698