diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Tools/WebKitTestRunner/WorkQueueManager.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Tools/WebKitTestRunner/WorkQueueManager.h')
-rw-r--r-- | Tools/WebKitTestRunner/WorkQueueManager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/WebKitTestRunner/WorkQueueManager.h b/Tools/WebKitTestRunner/WorkQueueManager.h index 21d5ebb88..273d51191 100644 --- a/Tools/WebKitTestRunner/WorkQueueManager.h +++ b/Tools/WebKitTestRunner/WorkQueueManager.h @@ -27,7 +27,6 @@ #define WorkQueueManager_h #include <wtf/Deque.h> -#include <wtf/OwnPtr.h> #include <wtf/text/WTFString.h> namespace WTR { @@ -42,7 +41,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); + void queueLoad(const String& url, const String& target, bool shouldOpenExternalURLs); void queueLoadHTMLString(const String& content, const String& baseURL, const String& unreachableURL); void queueBackNavigation(unsigned howFarBackward); void queueForwardNavigation(unsigned howFarForward); @@ -51,7 +50,7 @@ public: void queueNonLoadingScript(const String& script); private: - typedef Deque<OwnPtr<class WorkQueueItem> > WorkQueue; + typedef Deque<std::unique_ptr<class WorkQueueItem>> WorkQueue; void enqueue(WorkQueueItem*); // Adopts pointer. |