| Index: cc/trees/layer_tree_host_impl_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
|
| index 2333d9787a94d6d06f2edc198ad571a50c6c9b92..45bc2ae45e3bf2532ac41f5c4927a5536880674b 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -5531,7 +5531,8 @@ TEST_F(LayerTreeHostImplTest, MemoryPolicy) {
|
| gpu::MemoryAllocation::CUTOFF_ALLOW_NOTHING);
|
|
|
| // GPU rasterization should be disabled by default.
|
| - EXPECT_EQ(host_impl_->settings().gpu_rasterization, false);
|
| + EXPECT_EQ(LayerTreeSettings::SoftwareRasterization,
|
| + host_impl_->settings().gpu_rasterization_state);
|
|
|
| host_impl_->SetVisible(true);
|
| host_impl_->SetMemoryPolicy(policy1);
|
| @@ -5549,7 +5550,8 @@ TEST_F(LayerTreeHostImplTest, MemoryPolicy) {
|
| // Now enable GPU rasterization and test if we get required only cutoff,
|
| // when visible.
|
| LayerTreeSettings settings;
|
| - settings.gpu_rasterization = true;
|
| + settings.gpu_rasterization_state =
|
| + LayerTreeSettings::UniversalGpuRasterization;
|
| host_impl_ = LayerTreeHostImpl::Create(
|
| settings, this, &proxy_, &stats_instrumentation_, NULL, 0);
|
|
|
|
|