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

Unified Diff: chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.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/gtk/infobars/translate_infobar_base_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc (revision 174909)
+++ chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc (working copy)
@@ -199,7 +199,7 @@
// TranslateInfoBarDelegate specific method:
InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
TranslateInfoBarBase* infobar = NULL;
- switch (type_) {
+ switch (infobar_type_) {
case BEFORE_TRANSLATE:
infobar = new BeforeTranslateInfoBar(owner, this);
break;

Powered by Google App Engine
This is Rietveld 408576698