Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7191)

Unified Diff: chrome/browser/translate/translate_infobar_delegate.h

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/translate/translate_infobar_delegate.h
diff --git a/chrome/browser/translate/translate_infobar_delegate.h b/chrome/browser/translate/translate_infobar_delegate.h
index 0359cafeff99f9dcd1ba88ca2ae811ae4d58683e..549af3dab1707f77bcbd64ef79ea4c335e7db133 100644
--- a/chrome/browser/translate/translate_infobar_delegate.h
+++ b/chrome/browser/translate/translate_infobar_delegate.h
@@ -51,6 +51,8 @@ class TranslateInfoBarDelegate : public InfoBarDelegate {
const std::string& original_language,
const std::string& target_language);
+ virtual ~TranslateInfoBarDelegate();
+
// Returns the number of languages supported.
int GetLanguageCount() const;
@@ -102,9 +104,7 @@ class TranslateInfoBarDelegate : public InfoBarDelegate {
virtual void InfoBarClosed();
virtual SkBitmap* GetIcon() const;
virtual InfoBarDelegate::Type GetInfoBarType();
- virtual TranslateInfoBarDelegate* AsTranslateInfoBarDelegate() {
- return this;
- }
+ virtual TranslateInfoBarDelegate* AsTranslateInfoBarDelegate();
// Methods called by the Options menu delegate.
virtual bool IsLanguageBlacklisted();

Powered by Google App Engine
This is Rietveld 408576698