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

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: Address code review comments and fix all cc_unittests Created 8 years, 2 months 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 9b0ecbf2a1c71595d8ef6706aca66d381925739f..4d8c9dd5d23e917782b6efe0258f0f824db99efe 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&, cc::Thread*);
// WebLayerTreeView implementation.
virtual void setSurfaceReady() OVERRIDE;
@@ -68,6 +69,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