Commit 07a6161c authored by John Z Wu's avatar John Z Wu Committed by Commit Bot

Fix misuse of std::remove_if and std::erase

It was pure coincidence that it worked in the past.

Change-Id: I97d2b649055bf7ca527f5a8ad214252929d35f26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134777
Auto-Submit: John Wu <jzw@chromium.org>
Commit-Queue: Hiroshi Ichikawa <ichikawa@chromium.org>
Reviewed-by: default avatarHiroshi Ichikawa <ichikawa@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756557}
parent a7c7613c
......@@ -147,7 +147,8 @@ WebViewSyncClient::CreateDataTypeControllers(
[](const auto& data_type_controller) {
return data_type_controller->type() ==
syncer::USER_CONSENTS;
}));
}),
type_vector.end());
return type_vector;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment