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

Unified Diff: components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update Created 3 years, 10 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: components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc
diff --git a/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc b/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc
index 788ac534fe4bbe6901bd49e23bfeaf21c35f8e9a..52db9bff3359ac6ac723149f7d6b8aad61d46766 100644
--- a/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc
+++ b/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.cc
@@ -509,8 +509,8 @@ SchedulingRemoteSuggestionsProvider::GetEnabledTriggerTypes() {
std::set<TriggerType> enabled_types;
for (const auto& token : tokens) {
- auto it = std::find(std::begin(kTriggerTypeNames),
- std::end(kTriggerTypeNames), token);
+ auto** it = std::find(std::begin(kTriggerTypeNames),
+ std::end(kTriggerTypeNames), token);
if (it == std::end(kTriggerTypeNames)) {
DLOG(WARNING) << "Failed to parse variation param "
<< kTriggerTypesParamName << " with string value "

Powered by Google App Engine
This is Rietveld 408576698