summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.h b/Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.h
index 69b49bdbf..975fa4025 100644
--- a/Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.h
+++ b/Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.h
@@ -22,6 +22,7 @@
#include "qwebkitplatformplugin.h"
#include <wtf/Platform.h>
+#include <QtCore/QPointer>
#ifndef QT_NO_COMBOBOX
@@ -56,7 +57,7 @@ private Q_SLOTS:
void deleteComboBox();
private:
- QtWebComboBox* m_combo;
+ QPointer<QtWebComboBox> m_combo;
const QWebPageAdapter* m_page;
QRect m_geometry;
QFont m_font;