Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2698)

Unified Diff: cc/texture_layer_impl.h

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/texture_layer.cc ('k') | cc/texture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/texture_layer.cc ('k') | cc/texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698