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

Unified Diff: cc/io_surface_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/io_surface_layer.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/io_surface_layer_impl.h
diff --git a/cc/io_surface_layer_impl.h b/cc/io_surface_layer_impl.h
index 451373b3ee2db4d04c64824f378d59f9048023f0..f7d4a58254ec9f7cd6d961129eb170be3f9ca515 100644
--- a/cc/io_surface_layer_impl.h
+++ b/cc/io_surface_layer_impl.h
@@ -13,9 +13,9 @@ namespace cc {
class CC_EXPORT IOSurfaceLayerImpl : public LayerImpl {
public:
- static scoped_ptr<IOSurfaceLayerImpl> create(int id)
+ static scoped_ptr<IOSurfaceLayerImpl> create(LayerTreeHostImpl* hostImpl, int id)
{
- return make_scoped_ptr(new IOSurfaceLayerImpl(id));
+ return make_scoped_ptr(new IOSurfaceLayerImpl(hostImpl, id));
}
virtual ~IOSurfaceLayerImpl();
@@ -29,7 +29,7 @@ public:
virtual void dumpLayerProperties(std::string*, int indent) const OVERRIDE;
private:
- explicit IOSurfaceLayerImpl(int);
+ IOSurfaceLayerImpl(LayerTreeHostImpl* hostImpl, int id);
virtual const char* layerTypeAsString() const OVERRIDE;
« no previous file with comments | « cc/io_surface_layer.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698