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

Unified Diff: webkit/compositor_bindings/web_compositor_support_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_compositor_support_impl.h
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.h b/webkit/compositor_bindings/web_compositor_support_impl.h
index ac7e2767188e1a1103d51378958c8657394834e1..eca91985d51357212345b4097eff86cead07c4b2 100644
--- a/webkit/compositor_bindings/web_compositor_support_impl.h
+++ b/webkit/compositor_bindings/web_compositor_support_impl.h
@@ -8,6 +8,10 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSupport.h"
+namespace cc {
+class Thread;
+}
+
namespace webkit {
class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
@@ -15,7 +19,7 @@ class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
WebCompositorSupportImpl();
virtual ~WebCompositorSupportImpl();
- virtual void initialize(WebKit::WebThread* thread);
+ virtual void initialize(WebKit::WebThread* implThread);
virtual bool isThreadingEnabled();
virtual void shutdown();
virtual void setPerTilePaintingEnabled(bool enabled);
@@ -50,6 +54,9 @@ class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
createFloatAnimationCurve();
virtual WebKit::WebTransformAnimationCurve*
createTransformAnimationCurve();
+
+ private:
+ cc::Thread* impl_thread_;
};
} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698