Index: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
index 35b125805a36d86cb15f679ac219c67f9e660a3f..601c67d25e191e035df95ba4b65be203c59bd0f0 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
@@ -362,7 +362,7 @@ void HTMLScriptRunner::runScript(Element* script, const TextPosition& scriptStar |
m_parserBlockingScript.setElement(script); |
m_parserBlockingScript.setStartingPosition(scriptStartPosition); |
} else { |
- ScriptSourceCode sourceCode(script->textContent(), documentURLForScriptExecution(m_document), scriptStartPosition); |
+ ScriptSourceCode sourceCode(CompressableString(script->textContent().impl()), documentURLForScriptExecution(m_document), scriptStartPosition); |
scriptLoader->executeScript(sourceCode); |
} |
} else { |