Index: cc/layers/layer_position_constraint_unittest.cc |
diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc |
index 84bf944601dd97233e9d1e4d8b5c6a43557882b5..cc112d1b157178ed79032e561ec8988ee8064e48 100644 |
--- a/cc/layers/layer_position_constraint_unittest.cc |
+++ b/cc/layers/layer_position_constraint_unittest.cc |
@@ -10,6 +10,7 @@ |
#include "cc/test/fake_impl_proxy.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/geometry_test_utils.h" |
+#include "cc/test/test_shared_bitmap_manager.h" |
#include "cc/trees/layer_tree_host_common.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -64,8 +65,7 @@ void ExecuteCalculateDrawProperties(LayerImpl* root_layer) { |
class LayerPositionConstraintTest : public testing::Test { |
public: |
- LayerPositionConstraintTest() |
- : host_impl_(&proxy_) { |
+ LayerPositionConstraintTest() : host_impl_(&proxy_, &shared_bitmap_manager_) { |
root_ = CreateTreeForTest(); |
scroll_ = root_->children()[0]; |
fixed_to_top_left_.set_is_fixed_position(true); |
@@ -135,6 +135,7 @@ class LayerPositionConstraintTest : public testing::Test { |
protected: |
FakeImplProxy proxy_; |
+ TestSharedBitmapManager shared_bitmap_manager_; |
FakeLayerTreeHostImpl host_impl_; |
scoped_ptr<LayerImpl> root_; |
LayerImpl* scroll_; |