Index: Source/bindings/v8/ScriptPreprocessor.cpp |
diff --git a/Source/bindings/v8/ScriptPreprocessor.cpp b/Source/bindings/v8/ScriptPreprocessor.cpp |
index 7a4c50b5d3fd1b63aefbcfc52b62139b9ae8a233..c9674b96c7a6fd9ff9aa70b72e0f7a9403520aca 100644 |
--- a/Source/bindings/v8/ScriptPreprocessor.cpp |
+++ b/Source/bindings/v8/ScriptPreprocessor.cpp |
@@ -104,7 +104,7 @@ String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const |
v8::Handle<v8::Value> resultValue = V8ScriptRunner::callAsFunction(m_preprocessorFunction.newLocal(m_isolate), m_context.newLocal(m_isolate)->Global(), WTF_ARRAY_LENGTH(argv), argv); |
if (!resultValue.IsEmpty() && resultValue->IsString()) |
- return toWebCoreStringWithNullCheck(resultValue.As<v8::String>()); |
+ return toCoreStringWithNullCheck(resultValue.As<v8::String>()); |
return sourceCode; |
} |