| Index: cc/trees/occlusion_tracker_unittest.cc
|
| diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
|
| index f3f218570eb52a71f989222dc88afc1ca3c53371..7e37348aede18a1544ea2a8f5e9c85fcf67c2b18 100644
|
| --- a/cc/trees/occlusion_tracker_unittest.cc
|
| +++ b/cc/trees/occlusion_tracker_unittest.cc
|
| @@ -29,7 +29,8 @@ namespace {
|
|
|
| class TestContentLayer : public Layer {
|
| public:
|
| - TestContentLayer() : Layer(), override_opaque_contents_rect_(false) {
|
| + explicit TestContentLayer(const LayerSettings& settings)
|
| + : Layer(settings), override_opaque_contents_rect_(false) {
|
| SetIsDrawable(true);
|
| }
|
|
|
| @@ -117,9 +118,11 @@ struct OcclusionTrackerTestMainThreadTypes {
|
| typedef LayerIterator<Layer> TestLayerIterator;
|
| typedef OcclusionTracker<Layer> OcclusionTrackerType;
|
|
|
| - static LayerPtrType CreateLayer(HostType* host) { return Layer::Create(); }
|
| + static LayerPtrType CreateLayer(HostType* host) {
|
| + return Layer::Create(LayerSettings());
|
| + }
|
| static ContentLayerPtrType CreateContentLayer(HostType* host) {
|
| - return make_scoped_refptr(new ContentLayerType());
|
| + return make_scoped_refptr(new ContentLayerType(LayerSettings()));
|
| }
|
|
|
| template <typename T>
|
|
|