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 3ecfed5d3673cbcc2c42c533770e00babe8f83d4..44a9d487f21fcaa03a54c11e897a38857ca31744 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
@@ -357,7 +357,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 { |