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 e1b14f284a4d4af8aa807151ba8e4b7dde9d0fac..c8ab1f5fe111fbae3e4e576e81a3a550e921997a 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
@@ -361,7 +361,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 { |