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..3efd446bf516100ba2e9ee226a0a4fe87f474a78 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(CompressibleString(script->textContent().impl()), documentURLForScriptExecution(m_document), scriptStartPosition); |
scriptLoader->executeScript(sourceCode); |
} |
} else { |