Index: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h |
index 91c87937b8d7064511408947c9e59886f51dabdb..9380e00c997c7c5396ca441d6ef97a734d66157b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h |
@@ -39,6 +39,7 @@ |
#include "wtf/Allocator.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/ThreadingPrimitives.h" |
+#include "wtf/text/CompressibleString.h" |
#include "wtf/text/TextPosition.h" |
#include <v8.h> |
@@ -100,7 +101,7 @@ private: |
v8::Isolate* isolate() const; |
// Evaluate a script file in the current execution environment. |
- ScriptValue evaluate(const String& script, const String& fileName, const TextPosition& scriptStartPosition, CachedMetadataHandler*, V8CacheOptions); |
+ ScriptValue evaluate(const CompressibleString& script, const String& fileName, const TextPosition& scriptStartPosition, CachedMetadataHandler*, V8CacheOptions); |
RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope; |
RefPtr<ScriptState> m_scriptState; |