Index: chrome/browser/ui/cocoa/infobars/translate_message_infobar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/translate_message_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/translate_message_infobar_controller.mm |
index 53e0a615a4b8ce2f8135da41deefce8f80a9172b..0e11f5905d2269e5f8cf22d2c5a826fabf0f92a6 100644 |
--- a/chrome/browser/ui/cocoa/infobars/translate_message_infobar_controller.mm |
+++ b/chrome/browser/ui/cocoa/infobars/translate_message_infobar_controller.mm |
@@ -15,7 +15,7 @@ using InfoBarUtilities::MoveControl; |
[self removeOkCancelButtons]; |
MoveControl( |
label1_, translateMessageButton_, spaceBetweenControls_ * 2, true); |
- TranslateInfoBarDelegate* delegate = [self delegate]; |
+ translate::TranslateInfoBarDelegate* delegate = [self delegate]; |
if ([self delegate]->ShouldShowMessageInfoBarButton()) { |
base::string16 buttonText = delegate->GetMessageInfoBarButtonText(); |
[translateMessageButton_ setTitle:base::SysUTF16ToNSString(buttonText)]; |
@@ -36,7 +36,7 @@ using InfoBarUtilities::MoveControl; |
} |
- (void)loadLabelText { |
- TranslateInfoBarDelegate* delegate = [self delegate]; |
+ translate::TranslateInfoBarDelegate* delegate = [self delegate]; |
base::string16 messageText = delegate->GetMessageInfoBarText(); |
NSString* string1 = base::SysUTF16ToNSString(messageText); |
[label1_ setStringValue:string1]; |