Index: content/child/blink_platform_impl.h |
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h |
index 25c164936ccbd92c1da18d348e5dfd2c19c2e7bf..4f0f467632cb853b5c474ca057f2bf21b6b706ca 100644 |
--- a/content/child/blink_platform_impl.h |
+++ b/content/child/blink_platform_impl.h |
@@ -32,6 +32,10 @@ namespace base { |
class MessageLoop; |
} |
+namespace scheduler { |
+class WebThreadImplForWorkerScheduler; |
+} |
+ |
namespace content { |
class BackgroundSyncProvider; |
class FlingCurveConfiguration; |
@@ -91,6 +95,7 @@ class CONTENT_EXPORT BlinkPlatformImpl |
bool isReservedIPAddress(const blink::WebString& host) const override; |
bool portAllowed(const blink::WebURL& url) const override; |
blink::WebThread* createThread(const char* name) override; |
+ blink::WebThread* createThreadForCompositor(const char* name); |
blink::WebThread* currentThread() override; |
void yieldCurrentThread() override; |
blink::WebWaitableEvent* createWaitableEvent( |
@@ -167,6 +172,7 @@ class CONTENT_EXPORT BlinkPlatformImpl |
double systemTraceTime() override; |
void cryptographicallyRandomValues(unsigned char* buffer, |
size_t length) override; |
+ blink::WebThread* compositorThread() const override; |
blink::WebGestureCurve* createFlingAnimationCurve( |
blink::WebGestureDevice device_source, |
const blink::WebFloatPoint& velocity, |
@@ -208,6 +214,8 @@ class CONTENT_EXPORT BlinkPlatformImpl |
scoped_refptr<PushDispatcher> push_dispatcher_; |
scoped_ptr<PermissionDispatcher> permission_client_; |
scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
+ |
+ scheduler::WebThreadImplForWorkerScheduler* compositor_thread_; |
}; |
} // namespace content |