Index: cc/layers/painted_scrollbar_layer_impl.cc |
diff --git a/cc/layers/painted_scrollbar_layer_impl.cc b/cc/layers/painted_scrollbar_layer_impl.cc |
index d48c49f1afc5f75a6a8a01d998577fd11e7bfed5..16196dd70d2bb1b7575e16ed50d07e53e2c3536f 100644 |
--- a/cc/layers/painted_scrollbar_layer_impl.cc |
+++ b/cc/layers/painted_scrollbar_layer_impl.cc |
@@ -43,8 +43,7 @@ PaintedScrollbarLayerImpl::~PaintedScrollbarLayerImpl() {} |
scoped_ptr<LayerImpl> PaintedScrollbarLayerImpl::CreateLayerImpl( |
LayerTreeImpl* tree_impl) { |
- return PaintedScrollbarLayerImpl::Create(tree_impl, id(), orientation()) |
- .PassAs<LayerImpl>(); |
+ return PaintedScrollbarLayerImpl::Create(tree_impl, id(), orientation()); |
} |
void PaintedScrollbarLayerImpl::PushPropertiesTo(LayerImpl* layer) { |