| Index: cc/layers/texture_layer_unittest.cc
|
| diff --git a/cc/layers/texture_layer_unittest.cc b/cc/layers/texture_layer_unittest.cc
|
| index 8fb2a15ebbe0a48a45aa3c767e0afd1b659b95e7..2822f91e5d5d2d0aa3ea002a56cc412a23d8268f 100644
|
| --- a/cc/layers/texture_layer_unittest.cc
|
| +++ b/cc/layers/texture_layer_unittest.cc
|
| @@ -550,6 +550,10 @@ class TextureLayerImplWithMailboxThreadedCallback : public LayerTreeTest {
|
|
|
| virtual void AfterTest() OVERRIDE {}
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->max_bytes_pending_upload = 16 * 1024 * 1024;
|
| + }
|
| +
|
| private:
|
| int callback_count_;
|
| int commit_count_;
|
| @@ -891,6 +895,10 @@ class TextureLayerClientTest
|
|
|
| virtual void AfterTest() OVERRIDE {}
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->max_bytes_pending_upload = 16 * 1024 * 1024;
|
| + }
|
| +
|
| private:
|
| scoped_refptr<TextureLayer> texture_layer_;
|
| TestWebGraphicsContext3D* context_;
|
| @@ -979,6 +987,10 @@ class TextureLayerLostContextTest
|
|
|
| virtual void AfterTest() OVERRIDE {}
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->max_bytes_pending_upload = 16 * 1024 * 1024;
|
| + }
|
| +
|
| private:
|
| scoped_refptr<TextureLayer> texture_layer_;
|
| scoped_ptr<TestWebGraphicsContext3D> texture_context_;
|
| @@ -1047,6 +1059,10 @@ class TextureLayerWithMailboxMainThreadDeleted : public LayerTreeTest {
|
| EXPECT_EQ(1, callback_count_);
|
| }
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->max_bytes_pending_upload = 16 * 1024 * 1024;
|
| + }
|
| +
|
| private:
|
| int callback_count_;
|
| scoped_refptr<Layer> root_;
|
| @@ -1118,6 +1134,10 @@ class TextureLayerWithMailboxImplThreadDeleted : public LayerTreeTest {
|
| EXPECT_EQ(1, callback_count_);
|
| }
|
|
|
| + virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| + settings->max_bytes_pending_upload = 16 * 1024 * 1024;
|
| + }
|
| +
|
| private:
|
| int callback_count_;
|
| scoped_refptr<Layer> root_;
|
|
|