summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Platform/qt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Platform/qt')
-rw-r--r--Source/WebKit2/Platform/qt/ModuleQt.cpp1
-rw-r--r--Source/WebKit2/Platform/qt/WorkQueueQt.cpp8
2 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebKit2/Platform/qt/ModuleQt.cpp b/Source/WebKit2/Platform/qt/ModuleQt.cpp
index de83691..98815a2 100644
--- a/Source/WebKit2/Platform/qt/ModuleQt.cpp
+++ b/Source/WebKit2/Platform/qt/ModuleQt.cpp
@@ -32,6 +32,7 @@ namespace WebKit {
bool Module::load()
{
m_lib.setFileName(static_cast<QString>(m_path));
+ m_lib.setLoadHints(QLibrary::ResolveAllSymbolsHint);
return m_lib.load();
}
diff --git a/Source/WebKit2/Platform/qt/WorkQueueQt.cpp b/Source/WebKit2/Platform/qt/WorkQueueQt.cpp
index 24af404..7a6ec5e 100644
--- a/Source/WebKit2/Platform/qt/WorkQueueQt.cpp
+++ b/Source/WebKit2/Platform/qt/WorkQueueQt.cpp
@@ -31,8 +31,8 @@
#include <QObject>
#include <QThread>
#include <QProcess>
+#include <WebCore/NotImplemented.h>
#include <wtf/Threading.h>
-#include "NotImplemented.h"
class WorkQueue::WorkItemQt : public QObject {
Q_OBJECT
@@ -111,9 +111,11 @@ void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item)
itemQt->moveToThread(m_workThread);
}
-void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem>, double)
+void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delayInSecond)
{
- notImplemented();
+ WorkQueue::WorkItemQt* itemQt = new WorkQueue::WorkItemQt(this, item.leakPtr());
+ itemQt->startTimer(static_cast<int>(delayInSecond * 1000));
+ itemQt->moveToThread(m_workThread);
}
void WorkQueue::scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier process, PassOwnPtr<WorkItem> workItem)