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

Unified Diff: cc/nine_patch_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/nine_patch_layer.cc ('k') | cc/nine_patch_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/nine_patch_layer_impl.h
diff --git a/cc/nine_patch_layer_impl.h b/cc/nine_patch_layer_impl.h
index f574c3a6875f2c16f415c10d238848f772ac7276..404ae2bb04ac74ef18833440c9595bbfe18550bb 100644
--- a/cc/nine_patch_layer_impl.h
+++ b/cc/nine_patch_layer_impl.h
@@ -15,9 +15,9 @@ namespace cc {
class CC_EXPORT NinePatchLayerImpl : public LayerImpl {
public:
- static scoped_ptr<NinePatchLayerImpl> create(int id)
+ static scoped_ptr<NinePatchLayerImpl> create(LayerTreeHostImpl* hostImpl, int id)
{
- return make_scoped_ptr(new NinePatchLayerImpl(id));
+ return make_scoped_ptr(new NinePatchLayerImpl(hostImpl, id));
}
virtual ~NinePatchLayerImpl();
@@ -32,7 +32,7 @@ public:
virtual void didLoseOutputSurface() OVERRIDE;
protected:
- explicit NinePatchLayerImpl(int id);
+ NinePatchLayerImpl(LayerTreeHostImpl* hostImpl, int id);
private:
virtual const char* layerTypeAsString() const OVERRIDE;
« no previous file with comments | « cc/nine_patch_layer.cc ('k') | cc/nine_patch_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698