summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_tiling_client.cc
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 23:44:31 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 23:44:31 +0000
commit9ee33e0f91d234ab96e1799143348289c524b6f5 (patch)
tree703f237b208c4f857b3a987387652e2c1b36d163 /cc/test/fake_picture_layer_tiling_client.cc
parent3790d4b4ded9c130169bd17a05776cd99e576193 (diff)
downloadchromium_src-9ee33e0f91d234ab96e1799143348289c524b6f5.zip
chromium_src-9ee33e0f91d234ab96e1799143348289c524b6f5.tar.gz
chromium_src-9ee33e0f91d234ab96e1799143348289c524b6f5.tar.bz2
cc: Use RenderingCapabilities::best_texture_format with impl-side painting.
BUG=248750 Review URL: https://chromiumcodereview.appspot.com/16679009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_layer_tiling_client.cc')
-rw-r--r--cc/test/fake_picture_layer_tiling_client.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index 39f1190..053559d 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -6,6 +6,8 @@
#include <limits>
+#include "cc/test/fake_tile_manager.h"
+
namespace cc {
class FakeInfinitePicturePileImpl : public PicturePileImpl {
@@ -23,12 +25,7 @@ class FakeInfinitePicturePileImpl : public PicturePileImpl {
};
FakePictureLayerTilingClient::FakePictureLayerTilingClient()
- : tile_manager_(TileManager::Create(&tile_manager_client_,
- NULL,
- 1,
- false,
- &stats_instrumentation_,
- false)),
+ : tile_manager_(new FakeTileManager(&tile_manager_client_)),
pile_(new FakeInfinitePicturePileImpl()),
twin_tiling_(NULL),
allow_create_tile_(true) {}