diff options
Diffstat (limited to 'Source/WebKit2/Shared/ChildProcess.cpp')
-rw-r--r-- | Source/WebKit2/Shared/ChildProcess.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/ChildProcess.cpp b/Source/WebKit2/Shared/ChildProcess.cpp index 06217fd..d45f4f2 100644 --- a/Source/WebKit2/Shared/ChildProcess.cpp +++ b/Source/WebKit2/Shared/ChildProcess.cpp @@ -23,6 +23,7 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" #include "ChildProcess.h" #if !OS(WINDOWS) @@ -47,13 +48,13 @@ NO_RETURN static void watchdogCallback() _exit(EXIT_FAILURE); } -void ChildProcess::didCloseOnConnectionWorkQueue(WorkQueue* workQueue, CoreIPC::Connection*) +void ChildProcess::didCloseOnConnectionWorkQueue(WorkQueue& workQueue, CoreIPC::Connection*) { // If the connection has been closed and we haven't responded in the main thread for 10 seconds // the process will exit forcibly. static const double watchdogDelay = 10.0; - workQueue->scheduleWorkAfterDelay(WorkItem::create(watchdogCallback), watchdogDelay); + workQueue.scheduleWorkAfterDelay(WorkItem::create(watchdogCallback), watchdogDelay); } } // namespace WebKit |