Index: chrome/browser/cocoa/browser_test_helper.h |
diff --git a/chrome/browser/cocoa/browser_test_helper.h b/chrome/browser/cocoa/browser_test_helper.h |
index b7e3e64d4d5e32ee05cdb7cb478dbc181e18e5c3..8869aadb768f05da3c0c4cfdf571038886d2f3e1 100644 |
--- a/chrome/browser/cocoa/browser_test_helper.h |
+++ b/chrome/browser/cocoa/browser_test_helper.h |
@@ -37,7 +37,7 @@ class BrowserTestHelper { |
browser_.reset(new Browser(Browser::TYPE_NORMAL, profile_.get())); |
} |
- ~BrowserTestHelper() { |
+ virtual ~BrowserTestHelper() { |
// Delete the testing profile on the UI thread. But first release the |
// browser, since it may trigger accesses to the profile upon destruction. |
browser_.reset(NULL); |
@@ -45,7 +45,7 @@ class BrowserTestHelper { |
message_loop_.RunAllPending(); |
} |
- TestingProfile* profile() const { return profile_.get(); } |
+ virtual TestingProfile* profile() const { return profile_.get(); } |
Browser* browser() const { return browser_.get(); } |
// Creates the browser window. To close this window call |CloseBrowserWindow|. |