Index: cc/layers/ui_resource_layer.cc |
diff --git a/cc/layers/ui_resource_layer.cc b/cc/layers/ui_resource_layer.cc |
index 6b5f8779c657668c93d1b32b16799e9b596bbc58..6842851912908a8b77d3fe49a3854a049ff2e44e 100644 |
--- a/cc/layers/ui_resource_layer.cc |
+++ b/cc/layers/ui_resource_layer.cc |
@@ -49,13 +49,12 @@ class SharedUIResourceHolder : public UIResourceLayer::UIResourceHolder { |
UIResourceLayer::UIResourceHolder::~UIResourceHolder() {} |
-scoped_refptr<UIResourceLayer> UIResourceLayer::Create( |
- const LayerSettings& settings) { |
- return make_scoped_refptr(new UIResourceLayer(settings)); |
+scoped_refptr<UIResourceLayer> UIResourceLayer::Create() { |
+ return make_scoped_refptr(new UIResourceLayer()); |
} |
-UIResourceLayer::UIResourceLayer(const LayerSettings& settings) |
- : Layer(settings), uv_top_left_(0.f, 0.f), uv_bottom_right_(1.f, 1.f) { |
+UIResourceLayer::UIResourceLayer() |
+ : uv_top_left_(0.f, 0.f), uv_bottom_right_(1.f, 1.f) { |
vertex_opacity_[0] = 1.0f; |
vertex_opacity_[1] = 1.0f; |
vertex_opacity_[2] = 1.0f; |