Chromium Code Reviews| Index: public/platform/Platform.h |
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
| index c319e30c3ab10f33258b52f0ef4015c0d13169d6..13a33491ac394f067e08928574379b752c827ed0 100644 |
| --- a/public/platform/Platform.h |
| +++ b/public/platform/Platform.h |
| @@ -92,6 +92,7 @@ class WebPublicSuffixList; |
| class WebRTCPeerConnectionHandler; |
| class WebRTCPeerConnectionHandlerClient; |
| class WebSandboxSupport; |
| +class WebScheduler; |
| class WebSecurityOrigin; |
| class WebScrollbarBehavior; |
| class WebSocketHandle; |
| @@ -360,6 +361,8 @@ public: |
| // Yield the current thread so another thread can be scheduled. |
| virtual void yieldCurrentThread() { } |
| + // May return null. |
|
eseidel
2014/10/21 16:11:02
I think instead of letting this return null and ne
Sami
2014/10/21 18:49:34
That's a great idea. Since it doesn't look like we
|
| + virtual WebScheduler* scheduler() { return 0; } |
| // WaitableEvent ------------------------------------------------------- |