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

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: Created 5 years, 2 months 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 8a81458a2db3b31ecdd989d3f77c39d359f1d2cd..003fe1d2f8f0e3028cb7ca273c56059bcb14a437 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.h
@@ -39,6 +39,7 @@
#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
#include "wtf/ThreadingPrimitives.h"
+#include "wtf/text/CompressableString.h"
#include "wtf/text/TextPosition.h"
#include <v8.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(RefPtrWillBeRawPtr<CompressableString> 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