summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/UIProcess/qt/QtDialogRunner.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/qt/QtDialogRunner.h')
-rw-r--r--Source/WebKit2/UIProcess/qt/QtDialogRunner.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebKit2/UIProcess/qt/QtDialogRunner.h b/Source/WebKit2/UIProcess/qt/QtDialogRunner.h
index b70044076..fcb276080 100644
--- a/Source/WebKit2/UIProcess/qt/QtDialogRunner.h
+++ b/Source/WebKit2/UIProcess/qt/QtDialogRunner.h
@@ -21,11 +21,10 @@
#ifndef QtDialogRunner_h
#define QtDialogRunner_h
-#include "WKSecurityOrigin.h"
+#include "WKSecurityOriginRef.h"
#include "qquickwebview_p.h"
#include <QtCore/QEventLoop>
#include <QtCore/QStringList>
-#include <wtf/OwnPtr.h>
QT_BEGIN_NAMESPACE
class QQmlComponent;
@@ -75,8 +74,8 @@ private:
bool createDialog(QQmlComponent*, QObject* contextObject);
QQuickWebView* m_webView;
- OwnPtr<QQmlContext> m_dialogContext;
- OwnPtr<QQuickItem> m_dialog;
+ std::unique_ptr<QQmlContext> m_dialogContext;
+ std::unique_ptr<QQuickItem> m_dialog;
QString m_result;
bool m_wasAccepted;