Index: Source/modules/filesystem/DOMFileSystem.h |
diff --git a/Source/modules/filesystem/DOMFileSystem.h b/Source/modules/filesystem/DOMFileSystem.h |
index 5f3db6aead21088b39d02cb3c573af4ef1a0839f..4cab9dc0b0e37fc3f1fd1d7a58dd268600db2b84 100644 |
--- a/Source/modules/filesystem/DOMFileSystem.h |
+++ b/Source/modules/filesystem/DOMFileSystem.h |
@@ -38,6 +38,7 @@ |
#include "modules/filesystem/DOMFileSystemBase.h" |
#include "modules/filesystem/EntriesCallback.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebTraceLocation.h" |
namespace blink { |
@@ -202,7 +203,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackRefPtrArgTask<CB, CBArg>(callback, arg))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackRefPtrArgTask<CB, CBArg>(callback, arg))); |
} |
template <typename CB, typename CBArg> |
@@ -210,7 +211,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackPtrArgTask<CB, CBArg>(callback, arg))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackPtrArgTask<CB, CBArg>(callback, arg))); |
} |
template <typename CB, typename CBArg> |
@@ -218,7 +219,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackNonPtrArgTask<CB, PersistentHeapVector<CBArg>>(callback, arg))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackNonPtrArgTask<CB, PersistentHeapVector<CBArg>>(callback, arg))); |
} |
template <typename CB, typename CBArg> |
@@ -226,7 +227,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackNonPtrArgTask<CB, CBArg>(callback, arg))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackNonPtrArgTask<CB, CBArg>(callback, arg))); |
} |
template <typename CB, typename CBArg> |
@@ -234,7 +235,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackNonPtrArgTask<CB, Persistent<CBArg>>(callback, arg))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackNonPtrArgTask<CB, Persistent<CBArg>>(callback, arg))); |
} |
template <typename CB> |
@@ -242,7 +243,7 @@ void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, CB* cal |
{ |
ASSERT(executionContext->isContextThread()); |
if (callback) |
- executionContext->postTask(adoptPtr(new DispatchCallbackNoArgTask<CB>(callback))); |
+ executionContext->postTask(FROM_HERE, adoptPtr(new DispatchCallbackNoArgTask<CB>(callback))); |
} |
} // namespace blink |