Index: ios/web/browser_state_web_view_partition_inttest.mm |
diff --git a/ios/web/browser_state_web_view_partition_inttest.mm b/ios/web/browser_state_web_view_partition_inttest.mm |
index 00396e9ee510899e1c66e1882d319a08996ae3ea..e0b46d0a2b3a77515c852d109a189c55cbdcf546 100644 |
--- a/ios/web/browser_state_web_view_partition_inttest.mm |
+++ b/ios/web/browser_state_web_view_partition_inttest.mm |
@@ -88,7 +88,7 @@ |
WKWebView* web_view) { |
NSString* set_local_storage_item = [NSString |
stringWithFormat:@"localStorage.setItem('%@', '%@')", key, value]; |
- __unsafe_unretained NSError* unused_error = nil; |
+ NSError* unused_error = nil; |
web::ExecuteJavaScript(web_view, set_local_storage_item, &unused_error); |
} |