| Index: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| index 558394c2c61ebb22f2d6b4badccd78cc82c36b42..dface7759fc604fdb8b8dcfd8076d93a32ff863b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| @@ -30,6 +30,8 @@
|
|
|
| #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
|
|
|
| +#include <v8.h>
|
| +#include <memory>
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/ScriptSourceCode.h"
|
| #include "bindings/core/v8/ScriptValue.h"
|
| @@ -48,8 +50,6 @@
|
| #include "core/workers/WorkerThread.h"
|
| #include "platform/heap/ThreadState.h"
|
| #include "public/platform/Platform.h"
|
| -#include <memory>
|
| -#include <v8.h>
|
|
|
| namespace blink {
|
|
|
| @@ -203,8 +203,8 @@ bool WorkerOrWorkletScriptController::initializeContextIfNeeded() {
|
| // The global proxy object. Note this is not the global object.
|
| v8::Local<v8::Object> globalProxy = context->Global();
|
| v8::Local<v8::Object> associatedWrapper =
|
| - V8DOMWrapper::associateObjectWithWrapper(
|
| - m_isolate, scriptWrappable, wrapperTypeInfo, globalProxy);
|
| + V8DOMWrapper::associateObjectWithWrapper(m_isolate, scriptWrappable,
|
| + wrapperTypeInfo, globalProxy);
|
| CHECK(globalProxy == associatedWrapper);
|
|
|
| // The global object, aka worker/worklet wrapper object.
|
|
|