diff options
Diffstat (limited to 'chrome/browser/browser_window.h')
| -rw-r--r-- | chrome/browser/browser_window.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index d4e679e..d1ce48b 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -320,7 +320,7 @@ class BrowserWindow { friend class BrowserView; virtual void DestroyBrowser() = 0; - ~BrowserWindow() {} + virtual ~BrowserWindow() {} }; #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) @@ -349,6 +349,9 @@ class BrowserWindowTesting { // Returns the ToolbarView. virtual ToolbarView* GetToolbarView() const = 0; #endif + + protected: + virtual ~BrowserWindowTesting() {} }; #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
