Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index 9924046c06274895a68b8c075cf0e06005fa1ab5..a53a62ebee18386d956f77bddc650c2dcb559f20 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -434,6 +434,10 @@ public: |
// Returns an interface to the main thread. Can be null if blink was initialized on a thread without a message loop. |
BLINK_PLATFORM_EXPORT WebThread* mainThread() const; |
+ // Returns an interface to the compositor thread. This can be null if the |
+ // renderer was created with threaded rendering desabled. |
+ virtual WebThread* compositorThread() const { return 0; } |
+ |
// Vibration ----------------------------------------------------------- |
// Starts a vibration for the given duration in milliseconds. If there is currently an active |