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

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

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/InspectorWorkerAgent.cpp ('k') | Source/core/inspector/PageConsoleAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/PageConsoleAgent.h
diff --git a/Source/core/inspector/PageConsoleAgent.h b/Source/core/inspector/PageConsoleAgent.h
index 4dbf7f6097548b94a9e2591488b1820416161cce..63c6a4da086e271e25140e660e7260d38c4f284a 100644
--- a/Source/core/inspector/PageConsoleAgent.h
+++ b/Source/core/inspector/PageConsoleAgent.h
@@ -41,11 +41,12 @@ class InspectorDOMAgent;
class PageConsoleAgent FINAL : public InspectorConsoleAgent {
WTF_MAKE_NONCOPYABLE(PageConsoleAgent);
public:
- static PassOwnPtr<PageConsoleAgent> create(InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent, InspectorTimelineAgent* timelineAgent)
+ static PassOwnPtrWillBeRawPtr<PageConsoleAgent> create(InjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent, InspectorTimelineAgent* timelineAgent)
{
- return adoptPtr(new PageConsoleAgent(injectedScriptManager, domAgent, timelineAgent));
+ return adoptPtrWillBeNoop(new PageConsoleAgent(injectedScriptManager, domAgent, timelineAgent));
}
virtual ~PageConsoleAgent();
+ virtual void trace(Visitor*) OVERRIDE;
virtual bool isWorkerAgent() OVERRIDE { return false; }
@@ -54,7 +55,7 @@ private:
virtual void clearMessages(ErrorString*) OVERRIDE;
virtual void addInspectedNode(ErrorString*, int nodeId) OVERRIDE;
- InspectorDOMAgent* m_inspectorDOMAgent;
+ RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent;
};
} // namespace WebCore
« no previous file with comments | « Source/core/inspector/InspectorWorkerAgent.cpp ('k') | Source/core/inspector/PageConsoleAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698