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 8223a91e9e6c84f3648f0fbc94105e3a2a42baaa..af04d355f205b1acb0a08496aa7a5536037ecf92 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp |
@@ -51,6 +51,7 @@ |
#include "core/workers/WorkerThread.h" |
#include "platform/heap/ThreadState.h" |
#include "public/platform/Platform.h" |
+#include <memory> |
#include <v8.h> |
namespace blink { |
@@ -79,7 +80,7 @@ public: |
bool hadException; |
String errorMessage; |
- OwnPtr<SourceLocation> m_location; |
+ std::unique_ptr<SourceLocation> m_location; |
ScriptValue exception; |
Member<ErrorEvent> m_errorEventFromImportedScript; |