Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 202763002: Switch to use SharedBitmapManager all the time in cc_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index 13530167425cb3b9d1ee6e51c292540b5f89eb7c..bed4c6e289fe20563c87ccf596f43b6c8f9ee0cf 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -49,7 +49,9 @@ TEST(PictureLayerTest, NoTilesIfEmptyBounds) {
{
DebugScopedSetImplThread impl_thread(&proxy);
- FakeLayerTreeHostImpl host_impl(ImplSidePaintingSettings(), &proxy);
+ TestSharedBitmapManager shared_bitmap_manager;
+ FakeLayerTreeHostImpl host_impl(
+ ImplSidePaintingSettings(), &proxy, &shared_bitmap_manager);
host_impl.CreatePendingTree();
scoped_ptr<FakePictureLayerImpl> layer_impl =
FakePictureLayerImpl::Create(host_impl.pending_tree(), 1);

Powered by Google App Engine
This is Rietveld 408576698