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

Unified Diff: chrome/browser/ui/views/infobars/translate_infobar_base.cc

Issue 11747014: Translate infobar delegate: name the "type_" and "error_" fields "infobar_type_" and "error_type_" … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 12 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/ui/views/infobars/translate_infobar_base.cc
===================================================================
--- chrome/browser/ui/views/infobars/translate_infobar_base.cc (revision 174909)
+++ chrome/browser/ui/views/infobars/translate_infobar_base.cc (working copy)
@@ -20,9 +20,9 @@
// TranslateInfoBarDelegate ---------------------------------------------------
InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
- if (type_ == BEFORE_TRANSLATE)
+ if (infobar_type_ == BEFORE_TRANSLATE)
return new BeforeTranslateInfoBar(owner, this);
- if (type_ == AFTER_TRANSLATE)
+ if (infobar_type_ == AFTER_TRANSLATE)
return new AfterTranslateInfoBar(owner, this);
return new TranslateMessageInfoBar(owner, this);
}

Powered by Google App Engine
This is Rietveld 408576698