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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.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/WorkerRuntimeAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.h b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.h
index c97d9ce7c48b2bc688ee355b7a6f1871658e3137..07f25d4b25ae88fa4494bbc4a55569f25fbe279f 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.h
@@ -40,9 +40,9 @@ class WorkerGlobalScope;
class WorkerRuntimeAgent final : public InspectorRuntimeAgent {
public:
- static PassOwnPtrWillBeRawPtr<WorkerRuntimeAgent> create(V8Debugger* debugger, WorkerGlobalScope* context, InspectorRuntimeAgent::Client* client, int contextGroupId)
+ static RawPtr<WorkerRuntimeAgent> create(V8Debugger* debugger, WorkerGlobalScope* context, InspectorRuntimeAgent::Client* client, int contextGroupId)
{
- return adoptPtrWillBeNoop(new WorkerRuntimeAgent(debugger, context, client, contextGroupId));
+ return new WorkerRuntimeAgent(debugger, context, client, contextGroupId);
}
~WorkerRuntimeAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -54,7 +54,7 @@ private:
ScriptState* defaultScriptState() override;
void muteConsole() override;
void unmuteConsole() override;
- RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope;
+ Member<WorkerGlobalScope> m_workerGlobalScope;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698