Chromium Code Reviews| 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 0c4fc352eb970af98e5aa15501e6382ac2f56abd..2b7df0b8ae0b63860457d2cf7bc59466df7cbb05 100644 |
| --- a/cc/trees/layer_tree_host_impl_unittest.cc |
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc |
| @@ -5,6 +5,7 @@ |
| #include "cc/trees/layer_tree_host_impl.h" |
| #include <cmath> |
| +#include <limits> |
| #include "base/bind.h" |
| #include "base/command_line.h" |
| @@ -83,6 +84,8 @@ class LayerTreeHostImplTest : public testing::Test, |
| settings.minimum_occlusion_tracking_size = gfx::Size(); |
| settings.impl_side_painting = true; |
| settings.solid_color_scrollbars = true; |
| + settings.max_transfer_buffer_usage_bytes |
| + = std::numeric_limits<size_t>::max(); |
|
danakj
2013/08/23 01:21:46
nit: = on prev line, and all the other places this
kaanb
2013/08/23 01:37:31
Done.
|
| host_impl_ = LayerTreeHostImpl::Create(settings, |
| this, |
| @@ -371,6 +374,7 @@ TEST_F(LayerTreeHostImplTest, NotifyIfCanDrawChanged) { |
| TEST_F(LayerTreeHostImplTest, CanDrawIncompleteFrames) { |
| LayerTreeSettings settings; |
| settings.impl_side_painting = true; |
| + settings.max_transfer_buffer_usage_bytes = std::numeric_limits<size_t>::max(); |
| host_impl_ = LayerTreeHostImpl::Create( |
| settings, this, &proxy_, &stats_instrumentation_); |
| @@ -2850,6 +2854,8 @@ class LayerTreeHostImplViewportCoveredTest : public LayerTreeHostImplTest { |
| LayerTreeSettings settings; |
| settings.minimum_occlusion_tracking_size = gfx::Size(); |
| settings.impl_side_painting = true; |
| + settings.max_transfer_buffer_usage_bytes |
| + = std::numeric_limits<size_t>::max(); |
| host_impl_ = LayerTreeHostImpl::Create( |
| settings, this, &proxy_, &stats_instrumentation_); |