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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
index d00a32ab854ab6cff3d05305c70e9c57e2f68930..3821f66ea548f3be96509b4d0bc25887092fc2ad 100644
--- a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
@@ -47,9 +47,9 @@ class WorkerGlobalScopeProxy;
class CORE_EXPORT PageConsoleAgent final : public InspectorConsoleAgent {
WTF_MAKE_NONCOPYABLE(PageConsoleAgent);
public:
- static PassOwnPtrWillBeRawPtr<PageConsoleAgent> create(V8RuntimeAgent* runtimeAgent, V8DebuggerAgent* debuggerAgent, InspectorDOMAgent* domAgent, InspectedFrames* inspectedFrames)
+ static RawPtr<PageConsoleAgent> create(V8RuntimeAgent* runtimeAgent, V8DebuggerAgent* debuggerAgent, InspectorDOMAgent* domAgent, InspectedFrames* inspectedFrames)
{
- return adoptPtrWillBeNoop(new PageConsoleAgent(runtimeAgent, debuggerAgent, domAgent, inspectedFrames));
+ return new PageConsoleAgent(runtimeAgent, debuggerAgent, domAgent, inspectedFrames);
}
~PageConsoleAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -70,9 +70,9 @@ private:
PageConsoleAgent(V8RuntimeAgent*, V8DebuggerAgent*, InspectorDOMAgent*, InspectedFrames*);
void clearMessages(ErrorString*) override;
- RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent;
- RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
- using WorkerInspectorProxySet = WillBeHeapHashSet<RawPtrWillBeMember<WorkerInspectorProxy>>;
+ Member<InspectorDOMAgent> m_inspectorDOMAgent;
+ Member<InspectedFrames> m_inspectedFrames;
+ using WorkerInspectorProxySet = HeapHashSet<Member<WorkerInspectorProxy>>;
WorkerInspectorProxySet m_workersWithEnabledConsole;
static int s_enabledAgentCount;

Powered by Google App Engine
This is Rietveld 408576698