Index: cc/layers/heads_up_display_layer.cc |
diff --git a/cc/layers/heads_up_display_layer.cc b/cc/layers/heads_up_display_layer.cc |
index a34ca42d6c93170eed50732aa0ac8029f9d2197d..8d581dc4d8b3043f9cb9656c84213599341c1f91 100644 |
--- a/cc/layers/heads_up_display_layer.cc |
+++ b/cc/layers/heads_up_display_layer.cc |
@@ -13,14 +13,12 @@ |
namespace cc { |
-scoped_refptr<HeadsUpDisplayLayer> HeadsUpDisplayLayer::Create( |
- const LayerSettings& settings) { |
- return make_scoped_refptr(new HeadsUpDisplayLayer(settings)); |
+scoped_refptr<HeadsUpDisplayLayer> HeadsUpDisplayLayer::Create() { |
+ return make_scoped_refptr(new HeadsUpDisplayLayer()); |
} |
-HeadsUpDisplayLayer::HeadsUpDisplayLayer(const LayerSettings& settings) |
- : Layer(settings), |
- typeface_(skia::AdoptRef( |
+HeadsUpDisplayLayer::HeadsUpDisplayLayer() |
+ : typeface_(skia::AdoptRef( |
SkTypeface::CreateFromName("times new roman", SkTypeface::kNormal))) { |
if (!typeface_) { |
typeface_ = skia::AdoptRef( |