Commit 3fb42efb authored by shess@chromium.org's avatar shess@chromium.org

[Mac] Cleanup indirect delegate call from prior CL.

Nico's nit from http://codereview.chromium.org/7876004 which came
after I had committed.

TBR=thakis@chromium.org
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/7969022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102419 0039d316-1c4b-4281-b951-d872f2087c98
parent a2dbe332
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment