| 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 13467cbb32dca05a33891d239a96ce973a7aa52e..b0273a01f6d93826d2be1dd83a1da280661ce026 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -1441,6 +1441,7 @@ MULTI_THREAD_TEST_F(LayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers);
|
| class LayerTreeHostTestDirectRendererAtomicCommit : public LayerTreeHostTest {
|
| public:
|
| virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->texture_id_allocation_chunk_size = 1;
|
| // Make sure partial texture updates are turned off.
|
| settings->max_partial_texture_updates = 0;
|
| // Linear fade animator prevents scrollbars from drawing immediately.
|
| @@ -1619,6 +1620,7 @@ class LayerTreeHostTestAtomicCommitWithPartialUpdate
|
| : public LayerTreeHostTest {
|
| public:
|
| virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->texture_id_allocation_chunk_size = 1;
|
| // Allow one partial texture update.
|
| settings->max_partial_texture_updates = 1;
|
| // No partial updates when impl side painting is enabled.
|
| @@ -3751,6 +3753,10 @@ class LayerTreeHostTestUIResource : public LayerTreeHostTest {
|
| public:
|
| LayerTreeHostTestUIResource() : num_ui_resources_(0), num_commits_(0) {}
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->texture_id_allocation_chunk_size = 1;
|
| + }
|
| +
|
| virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); }
|
|
|
| virtual void DidCommit() OVERRIDE {
|
|
|