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

Unified Diff: cc/solid_color_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/solid_color_layer.cc ('k') | cc/solid_color_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/solid_color_layer_impl.h
diff --git a/cc/solid_color_layer_impl.h b/cc/solid_color_layer_impl.h
index 30231cb066c6c355b061958cd4d27d5d17d7534a..c2da466a6ea2576eeb5982c0c4e32b2b7d293dad 100644
--- a/cc/solid_color_layer_impl.h
+++ b/cc/solid_color_layer_impl.h
@@ -12,16 +12,16 @@ namespace cc {
class CC_EXPORT SolidColorLayerImpl : public LayerImpl {
public:
- static scoped_ptr<SolidColorLayerImpl> create(int id)
+ static scoped_ptr<SolidColorLayerImpl> create(LayerTreeHostImpl* hostImpl, int id)
{
- return make_scoped_ptr(new SolidColorLayerImpl(id));
+ return make_scoped_ptr(new SolidColorLayerImpl(hostImpl, id));
}
virtual ~SolidColorLayerImpl();
virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
protected:
- explicit SolidColorLayerImpl(int id);
+ SolidColorLayerImpl(LayerTreeHostImpl* hostImpl, int id);
private:
virtual const char* layerTypeAsString() const OVERRIDE;
« no previous file with comments | « cc/solid_color_layer.cc ('k') | cc/solid_color_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698