Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h

Issue 1389383003: WIP: Introduce CompressibleString Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haraken's review Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h b/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
index 8213766fb9fa0e007989d39bd31dfdccdc60292d..9267f284b3df3a5a2447aacc5e5aa1ccc3f7c496 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
@@ -36,6 +36,7 @@
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8CacheOptions.h"
#include "core/CoreExport.h"
+#include "platform/text/CompressibleString.h"
#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
#include "wtf/ThreadingPrimitives.h"
@@ -101,7 +102,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;

Powered by Google App Engine
This is Rietveld 408576698