| Index: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
|
| index 835bc2f2566197d8ca392b94bc14451ca3eb55e6..fc5d25548d648e55cf0d961c6390f6cbfb685759 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
|
| @@ -46,9 +46,9 @@ static const char workerInspectionEnabled[] = "workerInspectionEnabled";
|
| static const char autoconnectToWorkers[] = "autoconnectToWorkers";
|
| };
|
|
|
| -PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> InspectorWorkerAgent::create(PageConsoleAgent* consoleAgent)
|
| +RawPtr<InspectorWorkerAgent> InspectorWorkerAgent::create(PageConsoleAgent* consoleAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorWorkerAgent(consoleAgent));
|
| + return (new InspectorWorkerAgent(consoleAgent));
|
| }
|
|
|
| InspectorWorkerAgent::InspectorWorkerAgent(PageConsoleAgent* consoleAgent)
|
| @@ -172,7 +172,7 @@ void InspectorWorkerAgent::destroyWorkerAgentClients()
|
|
|
| void InspectorWorkerAgent::createWorkerAgentClient(WorkerInspectorProxy* workerInspectorProxy, const String& url, const String& id)
|
| {
|
| - OwnPtrWillBeRawPtr<WorkerAgentClient> client = WorkerAgentClient::create(frontend(), workerInspectorProxy, id, m_consoleAgent);
|
| + RawPtr<WorkerAgentClient> client = WorkerAgentClient::create(frontend(), workerInspectorProxy, id, m_consoleAgent);
|
| WorkerAgentClient* rawClient = client.get();
|
| m_idToClient.set(id, client.release());
|
|
|
| @@ -193,9 +193,9 @@ DEFINE_TRACE(InspectorWorkerAgent)
|
| InspectorBaseAgent<InspectorWorkerAgent, InspectorFrontend::Worker>::trace(visitor);
|
| }
|
|
|
| -PassOwnPtrWillBeRawPtr<InspectorWorkerAgent::WorkerAgentClient> InspectorWorkerAgent::WorkerAgentClient::create(InspectorFrontend::Worker* frontend, WorkerInspectorProxy* proxy, const String& id, PageConsoleAgent* consoleAgent)
|
| +RawPtr<InspectorWorkerAgent::WorkerAgentClient> InspectorWorkerAgent::WorkerAgentClient::create(InspectorFrontend::Worker* frontend, WorkerInspectorProxy* proxy, const String& id, PageConsoleAgent* consoleAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorWorkerAgent::WorkerAgentClient(frontend, proxy, id, consoleAgent));
|
| + return (new InspectorWorkerAgent::WorkerAgentClient(frontend, proxy, id, consoleAgent));
|
| }
|
|
|
| InspectorWorkerAgent::WorkerAgentClient::WorkerAgentClient(InspectorFrontend::Worker* frontend, WorkerInspectorProxy* proxy, const String& id, PageConsoleAgent* consoleAgent)
|
|
|