summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/efl/PopupMenuEfl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/efl/PopupMenuEfl.cpp')
-rw-r--r--WebCore/platform/efl/PopupMenuEfl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/efl/PopupMenuEfl.cpp b/WebCore/platform/efl/PopupMenuEfl.cpp
index 401f24f..a6f7a53 100644
--- a/WebCore/platform/efl/PopupMenuEfl.cpp
+++ b/WebCore/platform/efl/PopupMenuEfl.cpp
@@ -43,7 +43,8 @@ PopupMenuEfl::~PopupMenuEfl()
{
// Tell client to destroy data related to this popup since this object is
// going away.
- hide();
+ if (m_view)
+ hide();
}
void PopupMenuEfl::show(const IntRect& rect, FrameView* view, int index)