Index: cc/layers/surface_layer.cc |
diff --git a/cc/layers/surface_layer.cc b/cc/layers/surface_layer.cc |
index 71ceb46275ab4271f4995d0d7a217315b9d24fcb..f31a8aebcb1e72ea97435670909450bb3f4ccf4c 100644 |
--- a/cc/layers/surface_layer.cc |
+++ b/cc/layers/surface_layer.cc |
@@ -40,21 +40,17 @@ class SatisfySwapPromise : public SwapPromise { |
}; |
scoped_refptr<SurfaceLayer> SurfaceLayer::Create( |
- const LayerSettings& settings, |
const SatisfyCallback& satisfy_callback, |
const RequireCallback& require_callback) { |
return make_scoped_refptr( |
- new SurfaceLayer(settings, satisfy_callback, require_callback)); |
+ new SurfaceLayer(satisfy_callback, require_callback)); |
} |
-SurfaceLayer::SurfaceLayer(const LayerSettings& settings, |
- const SatisfyCallback& satisfy_callback, |
+SurfaceLayer::SurfaceLayer(const SatisfyCallback& satisfy_callback, |
const RequireCallback& require_callback) |
- : Layer(settings), |
- surface_scale_(1.f), |
+ : surface_scale_(1.f), |
satisfy_callback_(satisfy_callback), |
- require_callback_(require_callback) { |
-} |
+ require_callback_(require_callback) {} |
SurfaceLayer::~SurfaceLayer() { |
DCHECK(!layer_tree_host()); |