| Index: cc/trees/layer_tree_host_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
|
| index 73c3a30bcd51e8203e75d82d3a6102617a31e144..47f4f7c9a5a8d4307a7d76260a82c8bd13348738 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -2115,7 +2115,7 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) {
|
| LayerTreeHostWithProxy host(&client, settings, proxy.Pass());
|
| EXPECT_TRUE(host.InitializeOutputSurfaceIfNeeded());
|
|
|
| - EXPECT_EQ(0u, host.settings().max_partial_texture_updates);
|
| + EXPECT_EQ(0u, host.MaxPartialTextureUpdates());
|
| }
|
|
|
| // When partial updates are allowed,
|
| @@ -2133,7 +2133,7 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) {
|
| LayerTreeHostWithProxy host(&client, settings, proxy.Pass());
|
| EXPECT_TRUE(host.InitializeOutputSurfaceIfNeeded());
|
|
|
| - EXPECT_EQ(5u, host.settings().max_partial_texture_updates);
|
| + EXPECT_EQ(5u, host.MaxPartialTextureUpdates());
|
| }
|
|
|
| // When partial updates are allowed,
|
| @@ -2151,7 +2151,7 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) {
|
| LayerTreeHostWithProxy host(&client, settings, proxy.Pass());
|
| EXPECT_TRUE(host.InitializeOutputSurfaceIfNeeded());
|
|
|
| - EXPECT_EQ(10u, host.settings().max_partial_texture_updates);
|
| + EXPECT_EQ(10u, host.MaxPartialTextureUpdates());
|
| }
|
| }
|
|
|
| @@ -2188,7 +2188,7 @@ TEST(LayerTreeHostTest, PartialUpdatesWithDelegatingRendererAndGLContent) {
|
| scoped_ptr<LayerTreeHost> host =
|
| LayerTreeHost::Create(&client, settings, NULL);
|
| EXPECT_TRUE(host->InitializeOutputSurfaceIfNeeded());
|
| - EXPECT_EQ(0u, host->settings().max_partial_texture_updates);
|
| + EXPECT_EQ(0u, host->MaxPartialTextureUpdates());
|
| }
|
|
|
| TEST(LayerTreeHostTest,
|
| @@ -2201,7 +2201,7 @@ TEST(LayerTreeHostTest,
|
| scoped_ptr<LayerTreeHost> host =
|
| LayerTreeHost::Create(&client, settings, NULL);
|
| EXPECT_TRUE(host->InitializeOutputSurfaceIfNeeded());
|
| - EXPECT_EQ(0u, host->settings().max_partial_texture_updates);
|
| + EXPECT_EQ(0u, host->MaxPartialTextureUpdates());
|
| }
|
|
|
| class LayerTreeHostTestShutdownWithOnlySomeResourcesEvicted
|
|
|