| Index: third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
|
| index e6cc2219a10efaebd4d42fa7972d06d795466993..9a5d5da2329f9c01a68a565af07430bb98231bc5 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
|
| @@ -8,6 +8,7 @@
|
| #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/MainThreadDebugger.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -68,7 +69,7 @@ void WorkletGlobalScope::reportBlockedScriptExecutionToInspector(const String& d
|
| InspectorInstrumentation::scriptExecutionBlockedByCSP(this, directiveText);
|
| }
|
|
|
| -void WorkletGlobalScope::logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLocation> location)
|
| +void WorkletGlobalScope::logExceptionToConsole(const String& errorMessage, std::unique_ptr<SourceLocation> location)
|
| {
|
| ConsoleMessage* consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, std::move(location));
|
| addConsoleMessage(consoleMessage);
|
|
|