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

Unified Diff: ios/chrome/browser/translate/before_translate_infobar_controller.mm

Issue 1424713006: ios: Stop using __weak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: ios/chrome/browser/translate/before_translate_infobar_controller.mm
diff --git a/ios/chrome/browser/translate/before_translate_infobar_controller.mm b/ios/chrome/browser/translate/before_translate_infobar_controller.mm
index 7a872d9162f7a7ad9f9b244d28cf2fbbb0fefba9..c2588d2148ec328f1404ff18b785cb53641f31a4 100644
--- a/ios/chrome/browser/translate/before_translate_infobar_controller.mm
+++ b/ios/chrome/browser/translate/before_translate_infobar_controller.mm
@@ -31,7 +31,7 @@ NSTimeInterval kPickerAnimationDurationInSeconds = 0.2;
// language list.
@interface LanguagePickerController
: UIViewController<UIPickerViewDataSource, UIPickerViewDelegate> {
- __weak translate::TranslateInfoBarDelegate* _translateInfoBarDelegate;
+ translate::TranslateInfoBarDelegate* _translateInfoBarDelegate; // weak
NSInteger _initialRow; // Displayed in bold font.
NSInteger _disabledRow; // Grayed out.
}
@@ -107,7 +107,7 @@ NSTimeInterval kPickerAnimationDurationInSeconds = 0.2;
@end
@implementation BeforeTranslateInfoBarController {
- __weak translate::TranslateInfoBarDelegate* _translateInfoBarDelegate;
+ translate::TranslateInfoBarDelegate* _translateInfoBarDelegate; // weak
// A fullscreen view that catches all touch events and contains a UIPickerView
// and a UINavigationBar.
base::scoped_nsobject<UIView> _languageSelectionView;
« no previous file with comments | « ios/chrome/browser/translate/after_translate_infobar_controller.mm ('k') | ios/net/crn_http_protocol_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698