Chromium Code Reviews| Index: third_party/WebKit/public/web/WebKit.h |
| diff --git a/third_party/WebKit/public/web/WebKit.h b/third_party/WebKit/public/web/WebKit.h |
| index 47d968403612fbaceef53c85aeb93e4c3e6216de..95239ebabc2bacce0731908e82cabbab7e1a3698 100644 |
| --- a/third_party/WebKit/public/web/WebKit.h |
| +++ b/third_party/WebKit/public/web/WebKit.h |
| @@ -36,13 +36,13 @@ |
| namespace blink { |
| -// Initialize the entire Blink (wtf, platform, core, modules and web). |
| -// If you just need wtf and platform, use Platform::initialize instead. |
| +// Initialize the entire Blink (core, modules and web). |
| +// Platform must be initialized before Blink initialization. |
|
haraken
2016/08/08 10:50:19
Can we add an assert for this?
tzik
2016/08/09 08:58:02
Done.
|
| // |
| // Must be called on the thread that will be the main thread before |
| // using any other public APIs. The provided Platform; must be |
| // non-null and must remain valid until the current thread calls shutdown. |
| -BLINK_EXPORT void initialize(Platform*); |
| +BLINK_EXPORT void initialize(); |
| // Get the V8 Isolate for the main thread. |
| // initialize must have been called first. |