Index: Source/core/inspector/WorkerRuntimeAgent.h |
diff --git a/Source/core/inspector/WorkerRuntimeAgent.h b/Source/core/inspector/WorkerRuntimeAgent.h |
index 2ad5f0ac52244210cff5c1d510e60b4fe73ac823..097774d25595cffb923b8ab12238662b6fd13ba0 100644 |
--- a/Source/core/inspector/WorkerRuntimeAgent.h |
+++ b/Source/core/inspector/WorkerRuntimeAgent.h |
@@ -40,9 +40,9 @@ class WorkerGlobalScope; |
class WorkerRuntimeAgent FINAL : public InspectorRuntimeAgent { |
public: |
- static PassOwnPtr<WorkerRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context) |
+ static PassOwnPtrWillBeRawPtr<WorkerRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context) |
{ |
- return adoptPtr(new WorkerRuntimeAgent(injectedScriptManager, scriptDebugServer, context)); |
+ return adoptPtrWillBeNoop(new WorkerRuntimeAgent(injectedScriptManager, scriptDebugServer, context)); |
} |
virtual ~WorkerRuntimeAgent(); |