Index: cc/trees/occlusion_tracker_unittest.cc |
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc |
index 6550d42f81f6d1a0fe04e080996c11ecd40d52d6..8183cea9b2879ff711a5c08c2ee3da047a8b9d78 100644 |
--- a/cc/trees/occlusion_tracker_unittest.cc |
+++ b/cc/trees/occlusion_tracker_unittest.cc |
@@ -287,22 +287,13 @@ class OcclusionTrackerTest : public testing::Test { |
void SetRootLayerOnMainThread(LayerImpl* root) {} |
- void SetBaseProperties(LayerImpl* layer, |
- const gfx::Transform& transform, |
- const gfx::PointF& position, |
- const gfx::Size& bounds) { |
- layer->SetTransform(transform); |
- layer->SetPosition(position); |
- layer->SetBounds(bounds); |
- } |
- |
void SetProperties(LayerImpl* layer, |
const gfx::Transform& transform, |
const gfx::PointF& position, |
const gfx::Size& bounds) { |
- SetBaseProperties(layer, transform, position, bounds); |
- |
- layer->SetContentBounds(layer->bounds()); |
+ layer->SetTransform(transform); |
+ layer->SetPosition(position); |
+ layer->SetBounds(bounds); |
} |
void SetReplica(LayerImpl* owning_layer, scoped_ptr<LayerImpl> layer) { |