Chromium Code Reviews| 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 c7a244b6d8c49c5092b4e12956fe58912cc74be4..5c4bacbdea076a3361b32c738e323e868ecfbe30 100644 |
| --- a/third_party/WebKit/public/platform/Platform.h |
| +++ b/third_party/WebKit/public/platform/Platform.h |
| @@ -55,6 +55,8 @@ |
| #include "WebVector.h" |
| #include "base/metrics/user_metrics_action.h" |
| +#include <v8/include/v8.h> |
|
jochen (gone - plz use gerrit)
2016/05/06 10:42:09
can you forward declare instead?
namespace v8 {
t
Marijn Kruisselbrink
2016/05/06 16:14:30
Not unless I also change the method to pass the v8
Marijn Kruisselbrink
2016/05/06 16:20:35
Which actually is probably better (at least not wo
|
| + |
| class GrContext; |
| namespace blink { |
| @@ -618,6 +620,8 @@ public: |
| virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; } |
| + virtual void workerContextCreated(v8::Local<v8::Context> worker) { } |
| + |
| protected: |
| Platform(); |
| virtual ~Platform() { } |