diff --git a/mozilla/htmlparser/robot/nsDebugRobot.cpp b/mozilla/htmlparser/robot/nsDebugRobot.cpp index e2b4ad79e27..b9a14930676 100644 --- a/mozilla/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/htmlparser/robot/nsDebugRobot.cpp @@ -35,7 +35,7 @@ public: NS_INIT_REFCNT(); } - ~RobotSinkObserver() { + virtual ~RobotSinkObserver() { } NS_DECL_ISUPPORTS @@ -121,7 +121,7 @@ public: } - ~CStreamListener() { + virtual ~CStreamListener() { } NS_DECL_ISUPPORTS diff --git a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp index e2b4ad79e27..b9a14930676 100644 --- a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp @@ -35,7 +35,7 @@ public: NS_INIT_REFCNT(); } - ~RobotSinkObserver() { + virtual ~RobotSinkObserver() { } NS_DECL_ISUPPORTS @@ -121,7 +121,7 @@ public: } - ~CStreamListener() { + virtual ~CStreamListener() { } NS_DECL_ISUPPORTS