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

Unified Diff: chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm

Issue 7969022: [Mac] Cleanup indirect delegate call from prior CL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm
diff --git a/chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm b/chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm
index 388e6aff30685f56017332631f4afcc853a6ceec..2f1a205f9b4d0d04d7da7e17d1ada987404b7734 100644
--- a/chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm
+++ b/chrome/browser/ui/cocoa/translate/before_translate_infobar_controller.mm
@@ -108,7 +108,7 @@ NSButton* CreateNSButtonWithResourceIDAndParameter(
- (void)neverTranslate:(id)sender {
TranslateInfoBarDelegate* delegate = [self delegate];
if (delegate)
- [self delegate]->NeverTranslatePageLanguage();
+ delegate->NeverTranslatePageLanguage();
}
// This is called when the "Always Translate [language]" button is pressed.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698