diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/qt/WebColorPickerQt.h')
-rw-r--r-- | Source/WebKit2/UIProcess/qt/WebColorPickerQt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/qt/WebColorPickerQt.h b/Source/WebKit2/UIProcess/qt/WebColorPickerQt.h index 00c72d7ab..08c4e7dcd 100644 --- a/Source/WebKit2/UIProcess/qt/WebColorPickerQt.h +++ b/Source/WebKit2/UIProcess/qt/WebColorPickerQt.h @@ -24,7 +24,6 @@ #include "IntRect.h" #include "WebColorPicker.h" #include <QtCore/QObject> -#include <wtf/OwnPtr.h> QT_BEGIN_NAMESPACE class QQmlComponent; @@ -64,8 +63,8 @@ private: void createItem(QObject*); void createContext(QQmlComponent*, QObject*); - OwnPtr<QQmlContext> m_context; - OwnPtr<QQuickItem> m_colorChooser; + std::unique_ptr<QQmlContext> m_context; + std::unique_ptr<QQuickItem> m_colorChooser; QQuickWebView* m_webView; }; |