Index: Source/bindings/core/v8/ScriptStreamer.cpp |
diff --git a/Source/bindings/core/v8/ScriptStreamer.cpp b/Source/bindings/core/v8/ScriptStreamer.cpp |
index 60d2a576de23281577568ebe4ecce76840435bae..6653544bf1a96313552d181a925b89a3a31a72c4 100644 |
--- a/Source/bindings/core/v8/ScriptStreamer.cpp |
+++ b/Source/bindings/core/v8/ScriptStreamer.cpp |
@@ -545,7 +545,7 @@ bool ScriptStreamer::startStreamingInternal(PendingScript& script, Settings* set |
// default, we generate the parser cache for streamed scripts, to emulate |
// the non-streaming behavior (see V8ScriptRunner::compileScript). |
v8::ScriptCompiler::CompileOptions compileOption = v8::ScriptCompiler::kProduceParserCache; |
- if (settings->v8CacheOptions() == V8CacheOptionsCode) |
+ if (settings->v8CacheOptions() == V8CacheOptionsCode || settings->v8CacheOptions() == V8CacheOptionsCodeCompressed) |
compileOption = v8::ScriptCompiler::kProduceCodeCache; |
// The Resource might go out of scope if the script is no longer |