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..589dcf5505653c52b970c1a9c5508ed480ee21b4 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -354,6 +354,7 @@ public: |
// Creates an embedder-defined thread. |
virtual WebThread* createThread(const char* name) { return nullptr; } |
+ virtual WebThread* createThreadForCompositor(const char* name) { return nullptr; } |
// Returns an interface to the current thread. This is owned by the |
// embedder. |
@@ -434,6 +435,8 @@ 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; |
+ virtual WebThread* compositorThread() const { return 0; } |
+ |
// Vibration ----------------------------------------------------------- |
// Starts a vibration for the given duration in milliseconds. If there is currently an active |