| Index: Source/core/inspector/InspectorInstrumentationCustomInl.h
|
| diff --git a/Source/core/inspector/InspectorInstrumentationCustomInl.h b/Source/core/inspector/InspectorInstrumentationCustomInl.h
|
| index efc4dcc71ab3840815dca31fe9ffc485c923dcb6..b9b684433385292c147d4ba56e7854c03bae3f11 100644
|
| --- a/Source/core/inspector/InspectorInstrumentationCustomInl.h
|
| +++ b/Source/core/inspector/InspectorInstrumentationCustomInl.h
|
| @@ -39,7 +39,7 @@ namespace InspectorInstrumentation {
|
|
|
| bool isDebuggerPausedImpl(InstrumentingAgents*);
|
| bool collectingHTMLParseErrorsImpl(InstrumentingAgents*);
|
| -PassOwnPtr<ScriptSourceCode> preprocessImpl(InstrumentingAgents*, LocalFrame*, const ScriptSourceCode&);
|
| +Nullable<ScriptSourceCode> preprocessImpl(InstrumentingAgents*, LocalFrame*, const ScriptSourceCode&);
|
| String preprocessEventListenerImpl(InstrumentingAgents*, LocalFrame*, const String& source, const String& url, const String& functionName);
|
| void appendAsyncCallStack(ExecutionContext*, ScriptCallStack*);
|
|
|
| @@ -70,16 +70,16 @@ inline String preprocessEventListener(LocalFrame* frame, const String& source, c
|
| return source;
|
| }
|
|
|
| -inline PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
|
| +inline Nullable<ScriptSourceCode> preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
|
| {
|
| - FAST_RETURN_IF_NO_FRONTENDS(PassOwnPtr<ScriptSourceCode>());
|
| + FAST_RETURN_IF_NO_FRONTENDS(nullptr);
|
| if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame))
|
| return preprocessImpl(instrumentingAgents, frame, sourceCode);
|
| - return PassOwnPtr<ScriptSourceCode>();
|
| + return nullptr;
|
| }
|
|
|
| } // namespace InspectorInstrumentation
|
|
|
| } // namespace blink
|
|
|
| -#endif // !defined(InspectorInstrumentationCustom_inl_h)
|
| +#endif // InspectorInstrumentationCustom_inl_h
|
|
|