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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix unit test hang by explicitly NULLing out impl_thread_message_loop_proxy_ Created 8 years, 1 month 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: webkit/compositor_bindings/web_layer_tree_view_impl.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h
index ae2e45df2695a18ad177138453a4881d8710b7fb..36a20e32e227d9b05eac3b56762e995e7e2f72cb 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -11,6 +11,7 @@
namespace cc {
class LayerTreeHost;
+class Thread;
}
namespace WebKit {
@@ -23,7 +24,7 @@ public:
explicit WebLayerTreeViewImpl(WebLayerTreeViewClient*);
virtual ~WebLayerTreeViewImpl();
- bool initialize(const Settings&);
+ bool initialize(const Settings&, scoped_ptr<cc::Thread> implThread);
// WebLayerTreeView implementation.
virtual void setSurfaceReady() OVERRIDE;
@@ -70,6 +71,7 @@ public:
private:
WebLayerTreeViewClient* m_client;
scoped_ptr<cc::LayerTreeHost> m_layerTreeHost;
+ bool m_hasImplThread;
};
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698