Index: Source/core/inspector/InspectorInstrumentation.cpp |
diff --git a/Source/core/inspector/InspectorInstrumentation.cpp b/Source/core/inspector/InspectorInstrumentation.cpp |
index e1587f033c8553c28e22a118735f05ea5b051470..ccc9b2800731f0053f027e7a95542f28f325ab59 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.cpp |
+++ b/Source/core/inspector/InspectorInstrumentation.cpp |
@@ -131,11 +131,11 @@ bool collectingHTMLParseErrorsImpl(InstrumentingAgents* instrumentingAgents) |
return false; |
} |
-PassOwnPtr<ScriptSourceCode> preprocessImpl(InstrumentingAgents* instrumentingAgents, LocalFrame* frame, const ScriptSourceCode& sourceCode) |
+ScriptSourceCode preprocessImpl(InstrumentingAgents* instrumentingAgents, LocalFrame* frame, const ScriptSourceCode& sourceCode) |
{ |
if (InspectorDebuggerAgent* debuggerAgent = instrumentingAgents->inspectorDebuggerAgent()) |
return debuggerAgent->preprocess(frame, sourceCode); |
- return PassOwnPtr<ScriptSourceCode>(); |
+ return ScriptSourceCode(); |
} |
String preprocessEventListenerImpl(InstrumentingAgents* instrumentingAgents, LocalFrame* frame, const String& source, const String& url, const String& functionName) |