summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/history/BackForwardList.h1
-rw-r--r--webkit/port/platform/WidgetClientWin.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/webkit/port/history/BackForwardList.h b/webkit/port/history/BackForwardList.h
index 6eca334..ec54818 100644
--- a/webkit/port/history/BackForwardList.h
+++ b/webkit/port/history/BackForwardList.h
@@ -57,6 +57,7 @@ typedef HashSet<RefPtr<HistoryItem> > HistoryItemHashSet;
// back-forward list.
class BackForwardListClient {
public:
+ virtual ~BackForwardListClient() {}
virtual void didAddHistoryItem(HistoryItem* item) = 0;
virtual void willGoToHistoryItem(HistoryItem* item) = 0;
virtual HistoryItem* itemAtIndex(int index) = 0;
diff --git a/webkit/port/platform/WidgetClientWin.h b/webkit/port/platform/WidgetClientWin.h
index 50b9445..40355cc 100644
--- a/webkit/port/platform/WidgetClientWin.h
+++ b/webkit/port/platform/WidgetClientWin.h
@@ -19,6 +19,8 @@ class Range;
// Generic interface for features needed by the Widget.
class WidgetClientWin : public WidgetClient {
public:
+ virtual ~WidgetClientWin() {}
+
// Returns the containing window for the Widget.
// TODO(pinkerton): this needs a better name, "window" is incorrect on other
// platforms.
@@ -68,4 +70,3 @@ public:
} // namespace WebCore
#endif // WidgetClientWin_H__
-