Index: ios/web/web_state/ui/crw_web_controller.mm |
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm |
index 81dd6e629220c078b2e7d23b102f4c48005a254e..953d0462fe05b7958ad9ed0a25596dc11f3cd725 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -2739,7 +2739,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
std::vector<std::string> federations; |
for (const auto& federation_value : *federations_value) { |
std::string federation; |
- if (!federation_value->GetAsString(&federation)) { |
+ if (!federation_value.GetAsString(&federation)) { |
DLOG(WARNING) << "JS message parameter 'federations' contains wrong type"; |
return NO; |
} |