Index: ios/web/webui/crw_web_ui_manager_unittest.mm |
diff --git a/ios/web/webui/crw_web_ui_manager_unittest.mm b/ios/web/webui/crw_web_ui_manager_unittest.mm |
index 2b4868a3ce37b9938de4c45d2d16f24f887603bd..e5274d8541690757deffc152748c6c726ce37d40 100644 |
--- a/ios/web/webui/crw_web_ui_manager_unittest.mm |
+++ b/ios/web/webui/crw_web_ui_manager_unittest.mm |
@@ -69,7 +69,7 @@ class MockURLFetcherBlockAdapter : public URLFetcherBlockAdapter { |
URLFetcherBlockAdapterCompletion completion_handler) |
: URLFetcherBlockAdapter(url, request_context, completion_handler), |
url_(url), |
- completion_handler_(completion_handler) {} |
+ completion_handler_([completion_handler copy]) {} |
void Start() override { |
if (url_.spec() == kFaviconUrl) { |