Index: Source/bindings/v8/ScriptPreprocessor.cpp |
diff --git a/Source/bindings/v8/ScriptPreprocessor.cpp b/Source/bindings/v8/ScriptPreprocessor.cpp |
index efc2bdd779c141a9eed59d7add0689e6aa230fe3..979f4ec1a5a5de60f6c9582012cac7367f9efe7a 100644 |
--- a/Source/bindings/v8/ScriptPreprocessor.cpp |
+++ b/Source/bindings/v8/ScriptPreprocessor.cpp |
@@ -40,7 +40,7 @@ |
namespace WebCore { |
-ScriptPreprocessor::ScriptPreprocessor(const ScriptSourceCode& preprocessorSourceCode, ScriptController* controller, PageConsole& console) |
+ScriptPreprocessor::ScriptPreprocessor(const ScriptSourceCode& preprocessorSourceCode, ScriptController& controller, PageConsole& console) |
: m_isPreprocessing(false) |
{ |
v8::TryCatch tryCatch; |
@@ -48,7 +48,7 @@ ScriptPreprocessor::ScriptPreprocessor(const ScriptSourceCode& preprocessorSourc |
Vector<ScriptSourceCode> sources; |
sources.append(preprocessorSourceCode); |
Vector<ScriptValue> scriptResults; |
- controller->executeScriptInIsolatedWorld(ScriptPreprocessorIsolatedWorldId, sources, DOMWrapperWorld::mainWorldExtensionGroup, &scriptResults); |
+ controller.executeScriptInIsolatedWorld(ScriptPreprocessorIsolatedWorldId, sources, DOMWrapperWorld::mainWorldExtensionGroup, &scriptResults); |
if (scriptResults.size() != 1) { |
console.addMessage(JSMessageSource, ErrorMessageLevel, "ScriptPreprocessor internal error, one ScriptSourceCode must give exactly one result."); |