| 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 747885a940b479fac6bcd5a2f069c40775d78f50..b4ab0d9248c43e26faab811ea04dafefed0e977c 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -140,6 +140,11 @@ class BLINK_PLATFORM_EXPORT Platform {
|
| static void initialize(Platform*);
|
| static void shutdown();
|
| static Platform* current();
|
| + // Used to get whether message loop is ready for current thread, to help
|
| + // blink::initialize() determining whether can initialize mojo stuff or not.
|
| + // TODO(leonhsl): http://crbug.com/660274 Remove this public API by ensuring
|
| + // a message loop before calling blink::initialize().
|
| + static bool isMessageLoopReady();
|
|
|
| // Used to switch the current platform only for testing.
|
| static void setCurrentPlatformForTesting(Platform*);
|
|
|