Index: ios/chrome/browser/ui/external_file_remover.h |
diff --git a/ios/chrome/browser/ui/external_file_remover.h b/ios/chrome/browser/ui/external_file_remover.h |
index f5cb769f6ffe8f1ac39f8e4fab1a814ea26d6f70..37a96f75ef20b78afbbc593a5de41f7736e65280 100644 |
--- a/ios/chrome/browser/ui/external_file_remover.h |
+++ b/ios/chrome/browser/ui/external_file_remover.h |
@@ -46,7 +46,7 @@ class ExternalFileRemover : public sessions::TabRestoreServiceObserver { |
sessions::TabRestoreService* tabRestoreService_; |
// BrowserViewController used to get the referenced files. Must outlive this |
// object. |
- BrowserViewController* bvc_; |
+ __unsafe_unretained BrowserViewController* bvc_; |
// Used to ensure |Remove()| is not run when this object is destroyed. |
base::WeakPtrFactory<ExternalFileRemover> weak_ptr_factory_; |
// Loads the |tabRestoreService_| if necessary. Removes all files received |