Index: ios/chrome/test/scoped_key_window.h |
diff --git a/ios/chrome/test/scoped_key_window.h b/ios/chrome/test/scoped_key_window.h |
index a6ed60ce31d0411d2dce0a44b12f9c9df0ca0aa1..b0bc4cf2a07f55edc2c1cad688f68e719a1c5015 100644 |
--- a/ios/chrome/test/scoped_key_window.h |
+++ b/ios/chrome/test/scoped_key_window.h |
@@ -21,8 +21,8 @@ class ScopedKeyWindow { |
UIWindow* Get() { return current_key_window_; } |
private: |
- UIWindow* current_key_window_; |
- UIWindow* original_key_window_; |
+ __strong UIWindow* current_key_window_; |
+ __strong UIWindow* original_key_window_; |
}; |
#endif // IOS_CHROME_TEST_SCOPED_KEY_WINDOW_H_ |