Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: Source/core/inspector/InspectorInstrumentationCustomInl.h

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/PageDebuggerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInstrumentationCustomInl.h
diff --git a/Source/core/inspector/InspectorInstrumentationCustomInl.h b/Source/core/inspector/InspectorInstrumentationCustomInl.h
index efc4dcc71ab3840815dca31fe9ffc485c923dcb6..c81c1f5d8de5be8775b35b36477b0a0cd89e054e 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&);
+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 ScriptSourceCode preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
{
- FAST_RETURN_IF_NO_FRONTENDS(PassOwnPtr<ScriptSourceCode>());
+ FAST_RETURN_IF_NO_FRONTENDS(ScriptSourceCode());
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame))
return preprocessImpl(instrumentingAgents, frame, sourceCode);
- return PassOwnPtr<ScriptSourceCode>();
+ return ScriptSourceCode();
}
} // namespace InspectorInstrumentation
} // namespace blink
-#endif // !defined(InspectorInstrumentationCustom_inl_h)
+#endif // InspectorInstrumentationCustom_inl_h
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | Source/core/inspector/PageDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698