| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index e87bf2452add7f7cdd51586ecdb7f4d464e638f2..34272a6ecce5e0488e2b66297154608217524c75 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5027,9 +5027,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()
|
|
|