| Index: cc/layer_tree_host.h
|
| diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
|
| index d36390b78ce22dce4feb07dc54b15b47bb07ced7..ff0c870c684746ed83cb7c9c0fb6d50d150dcfb3 100644
|
| --- a/cc/layer_tree_host.h
|
| +++ b/cc/layer_tree_host.h
|
| @@ -93,7 +93,7 @@ struct RendererCapabilities {
|
|
|
| class CC_EXPORT LayerTreeHost : public RateLimiterClient {
|
| public:
|
| - static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTreeSettings&);
|
| + static scoped_ptr<LayerTreeHost> create(LayerTreeHostClient*, const LayerTreeSettings&, scoped_ptr<Thread> implThread);
|
| virtual ~LayerTreeHost();
|
|
|
| void setSurfaceReady();
|
| @@ -212,9 +212,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(scoped_ptr<Thread> implThread);
|
|
|
| private:
|
| typedef std::vector<scoped_refptr<Layer> > LayerList;
|
| @@ -243,11 +245,11 @@ private:
|
| base::CancelableClosure m_prepaintCallback;
|
|
|
| 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;
|
|
|