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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698