Index: Source/WebCore/html/shadow/CalendarPickerElement.cpp |
=================================================================== |
--- Source/WebCore/html/shadow/CalendarPickerElement.cpp (revision 118421) |
+++ Source/WebCore/html/shadow/CalendarPickerElement.cpp (working copy) |
@@ -68,6 +68,12 @@ |
return adoptRef(new CalendarPickerElement(document)); |
} |
+CalendarPickerElement::~CalendarPickerElement() |
+{ |
+ closePopup(); |
+ ASSERT(!m_popup); |
+} |
+ |
RenderObject* CalendarPickerElement::createRenderer(RenderArena* arena, RenderStyle*) |
{ |
return new (arena) RenderDetailsMarker(this); |