| Index: Source/core/dom/ScriptLoader.cpp
|
| diff --git a/Source/core/dom/ScriptLoader.cpp b/Source/core/dom/ScriptLoader.cpp
|
| index f69e0e63d362e4750b5f16bbce060813de6b7058..6483ef8c84114c342d6ef3b13ff1fdf867870704 100644
|
| --- a/Source/core/dom/ScriptLoader.cpp
|
| +++ b/Source/core/dom/ScriptLoader.cpp
|
| @@ -290,7 +290,7 @@ bool isSVGScriptLoader(Element* element)
|
| return isSVGScriptElement(*element);
|
| }
|
|
|
| -void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode)
|
| +void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode, double* compilationFinishTime)
|
| {
|
| ASSERT(m_alreadyStarted);
|
|
|
| @@ -340,7 +340,7 @@ void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode)
|
| // Create a script from the script element node, using the script
|
| // block's source and the script block's type.
|
| // Note: This is where the script is compiled and actually executed.
|
| - frame->script().executeScriptInMainWorld(sourceCode, corsCheck);
|
| + frame->script().executeScriptInMainWorld(sourceCode, corsCheck, compilationFinishTime);
|
|
|
| if (isHTMLScriptLoader(m_element)) {
|
| ASSERT(contextDocument->currentScript() == m_element);
|
|
|