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

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

Issue 2522943003: [iOS/ARC] Fix a violation of ODR in base::BindBlock under ARC. (Closed)
Patch Set: Use EXPECT_NSEQ instead of EXPECT_EQ/EXPECT_TRUE. Created 4 years, 1 month 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/net/request_tracker_impl.mm ('k') | ios/web/webui/mojo_facade.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.mm
diff --git a/ios/web/webui/crw_web_ui_manager.mm b/ios/web/webui/crw_web_ui_manager.mm
index 75a1d8e9de79553f4412d0a08d01f49a4a16cd17..049f041bf3d6bee0b8f765f026408b66f4b67327 100644
--- a/ios/web/webui/crw_web_ui_manager.mm
+++ b/ios/web/webui/crw_web_ui_manager.mm
@@ -91,7 +91,7 @@ const char kScriptCommandPrefix[] = "webui";
new web::WebStateObserverBridge(webState, self));
base::WeakNSObject<CRWWebUIManager> weakSelf(self);
_webState->AddScriptCommandCallback(
- base::BindBlock(
+ base::BindBlockArc(
^bool(const base::DictionaryValue& message, const GURL&, bool) {
return [weakSelf handleWebUIJSMessage:message];
}),
« no previous file with comments | « ios/web/net/request_tracker_impl.mm ('k') | ios/web/webui/mojo_facade.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698