Index: cc/test/fake_picture_layer_tiling_client.cc |
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc |
index bba84597256db15938b11d64438e295262834c5a..de82207d4a41e1bac9c6d702b2a2207acc905667 100644 |
--- a/cc/test/fake_picture_layer_tiling_client.cc |
+++ b/cc/test/fake_picture_layer_tiling_client.cc |
@@ -6,6 +6,7 @@ |
#include <limits> |
+#include "base/thread_task_runner_handle.h" |
#include "cc/test/fake_picture_pile_impl.h" |
#include "cc/test/fake_tile_manager.h" |
@@ -21,14 +22,16 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient() |
FakePictureLayerTilingClient::FakePictureLayerTilingClient( |
ResourceProvider* resource_provider) |
- : resource_pool_(ResourcePool::Create(resource_provider, GL_TEXTURE_2D)), |
+ : resource_pool_( |
+ ResourcePool::Create(resource_provider, |
+ base::ThreadTaskRunnerHandle::Get().get(), |
+ GL_TEXTURE_2D)), |
tile_manager_( |
new FakeTileManager(&tile_manager_client_, resource_pool_.get())), |
pile_(FakePicturePileImpl::CreateInfiniteFilledPile()), |
twin_set_(nullptr), |
twin_tiling_(nullptr), |
- has_valid_tile_priorities_(true) { |
-} |
+ has_valid_tile_priorities_(true) {} |
FakePictureLayerTilingClient::~FakePictureLayerTilingClient() { |
} |