summaryrefslogtreecommitdiff
path: root/Tools/WebKitTestRunner/WorkQueueManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/WebKitTestRunner/WorkQueueManager.h')
-rw-r--r--Tools/WebKitTestRunner/WorkQueueManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/WebKitTestRunner/WorkQueueManager.h b/Tools/WebKitTestRunner/WorkQueueManager.h
index 273d51191..21d5ebb88 100644
--- a/Tools/WebKitTestRunner/WorkQueueManager.h
+++ b/Tools/WebKitTestRunner/WorkQueueManager.h
@@ -27,6 +27,7 @@
#define WorkQueueManager_h
#include <wtf/Deque.h>
+#include <wtf/OwnPtr.h>
#include <wtf/text/WTFString.h>
namespace WTR {
@@ -41,7 +42,7 @@ public:
void clearWorkQueue();
bool processWorkQueue(); // Returns 'true' if queue is processed (no new loading is started), returns 'false' otherwise.
- void queueLoad(const String& url, const String& target, bool shouldOpenExternalURLs);
+ void queueLoad(const String& url, const String& target);
void queueLoadHTMLString(const String& content, const String& baseURL, const String& unreachableURL);
void queueBackNavigation(unsigned howFarBackward);
void queueForwardNavigation(unsigned howFarForward);
@@ -50,7 +51,7 @@ public:
void queueNonLoadingScript(const String& script);
private:
- typedef Deque<std::unique_ptr<class WorkQueueItem>> WorkQueue;
+ typedef Deque<OwnPtr<class WorkQueueItem> > WorkQueue;
void enqueue(WorkQueueItem*); // Adopts pointer.