Index: Source/web/PopupContainer.h |
diff --git a/Source/web/PopupContainer.h b/Source/web/PopupContainer.h |
index 1122bb0416b0d149f3a662ddeb6dc37d93a0ace7..9924442ee22125ec7861515b2b91e3b390e139b8 100644 |
--- a/Source/web/PopupContainer.h |
+++ b/Source/web/PopupContainer.h |
@@ -42,7 +42,7 @@ class ChromeClient; |
class FrameView; |
class PopupMenuClient; |
-class PopupContainer : public FramelessScrollView { |
+class PopupContainer FINAL : public FramelessScrollView { |
public: |
enum PopupType { |
Select, // HTML select popup. |
@@ -118,7 +118,7 @@ private: |
friend class WTF::RefCounted<PopupContainer>; |
PopupContainer(PopupMenuClient*, PopupType, bool deviceSupportsTouch); |
- ~PopupContainer(); |
+ virtual ~PopupContainer(); |
// Paint the border. |
void paintBorder(GraphicsContext*, const IntRect&); |