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

Unified Diff: ios/web/webui/crw_web_ui_manager_unittest.mm

Issue 2340343002: [ARC] Converts part of ios/web/ui to ARC. (Closed)
Patch Set: Fixes unit test Created 4 years, 3 months 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
« no previous file with comments | « ios/web/webui/crw_web_ui_manager.mm ('k') | ios/web/webui/crw_web_ui_page_builder.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ios/web/webui/crw_web_ui_manager.mm ('k') | ios/web/webui/crw_web_ui_page_builder.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698