| Index: cc/layer_tree_host.h
|
| diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
|
| index 1f589525ba007a67e3f70bf5a00ce7e617d44cca..957066e2f4bca85b27b1de6f6b4a970e02ce343f 100644
|
| --- a/cc/layer_tree_host.h
|
| +++ b/cc/layer_tree_host.h
|
| @@ -90,7 +90,7 @@ struct RendererCapabilities {
|
|
|
| class LayerTreeHost : public RateLimiterClient {
|
| public:
|
| - static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTreeSettings&);
|
| + static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTreeSettings&, Thread* implThread);
|
| virtual ~LayerTreeHost();
|
|
|
| void setSurfaceReady();
|
| @@ -204,9 +204,11 @@ public:
|
|
|
| HeadsUpDisplayLayer* hudLayer() const { return m_hudLayer.get(); }
|
|
|
| + Proxy* proxy() const { return m_proxy.get(); }
|
| +
|
| protected:
|
| LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&);
|
| - bool initialize();
|
| + bool initialize(Thread* implThread);
|
|
|
| private:
|
| typedef std::vector<scoped_refptr<Layer> > LayerList;
|
| @@ -232,11 +234,11 @@ private:
|
| bool m_needsAnimateLayers;
|
|
|
| LayerTreeHostClient* m_client;
|
| + scoped_ptr<Proxy> m_proxy;
|
|
|
| int m_commitNumber;
|
| RenderingStats m_renderingStats;
|
|
|
| - scoped_ptr<Proxy> m_proxy;
|
| bool m_rendererInitialized;
|
| bool m_contextLost;
|
| int m_numTimesRecreateShouldFail;
|
|
|