Index: cc/texture_layer_impl.h |
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h |
index f800a2c48b0e68282b9b156dfc69b29cb5ed6f42..97c2dc92b3a4d989f81d61c38a55cb190e07fe55 100644 |
--- a/cc/texture_layer_impl.h |
+++ b/cc/texture_layer_impl.h |
@@ -12,9 +12,9 @@ namespace cc { |
class CC_EXPORT TextureLayerImpl : public LayerImpl { |
public: |
- static scoped_ptr<TextureLayerImpl> create(int id) |
+ static scoped_ptr<TextureLayerImpl> create(LayerTreeHostImpl* hostImpl, int id) |
{ |
- return make_scoped_ptr(new TextureLayerImpl(id)); |
+ return make_scoped_ptr(new TextureLayerImpl(hostImpl, id)); |
} |
virtual ~TextureLayerImpl(); |
@@ -33,7 +33,7 @@ public: |
void setUVRect(const gfx::RectF& rect) { m_uvRect = rect; } |
private: |
- explicit TextureLayerImpl(int); |
+ TextureLayerImpl(LayerTreeHostImpl* hostImpl, int id); |
virtual const char* layerTypeAsString() const OVERRIDE; |