| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index e7d9e5baf9560265192bb458dda3abefe1a47546..835b2adc5df7a54f2ff2fa7a75d09ac647347dc3 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5052,9 +5052,9 @@ void Document::postTask(PassOwnPtr<ExecutionContextTask> task)
|
| m_taskRunner->postTask(task);
|
| }
|
|
|
| -void Document::postInspectorTask(const Closure& closure)
|
| +void Document::postInspectorTask(PassOwnPtr<ExecutionContextTask> task)
|
| {
|
| - m_taskRunner->postInspectorTask(CallClosureTask::create(closure));
|
| + m_taskRunner->postInspectorTask(task);
|
| }
|
|
|
| void Document::tasksWereSuspended()
|
|
|