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

Unified Diff: cc/layer.h

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index af5df0fc97281860b1ae3639d6025d1b8262b1a9..fa4787cc53e0fc222e3b27b19bff7605606a1073 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -35,6 +35,7 @@ struct AnimationEvent;
class LayerAnimationDelegate;
class LayerImpl;
class LayerTreeHost;
+class LayerTreeHostImpl;
class PriorityCalculator;
class ResourceUpdateQueue;
class ScrollbarLayer;
@@ -307,7 +308,7 @@ protected:
scoped_refptr<Layer> m_maskLayer;
// Constructs a LayerImpl of the correct runtime type for this Layer type.
- virtual scoped_ptr<LayerImpl> createLayerImpl();
+ virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeHostImpl* hostImpl);
int m_layerId;
private:
« no previous file with comments | « cc/io_surface_layer_impl.cc ('k') | cc/layer.cc » ('j') | cc/test/fake_impl_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698