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

Unified Diff: components/omnibox/browser/in_memory_url_index_unittest.cc

Issue 2697873004: build: Enable auto raw pointer deduction check on linux. (Closed)
Patch Set: compile fix 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/omnibox/browser/in_memory_url_index_unittest.cc
diff --git a/components/omnibox/browser/in_memory_url_index_unittest.cc b/components/omnibox/browser/in_memory_url_index_unittest.cc
index 57751d876e357a104c8d836b3aeeccc2ace1845f..1e08dce4404185bb444ebfae4d57c4dd986d9cb8 100644
--- a/components/omnibox/browser/in_memory_url_index_unittest.cc
+++ b/components/omnibox/browser/in_memory_url_index_unittest.cc
@@ -792,7 +792,7 @@ TEST_F(InMemoryURLIndexTest, TrimHistoryIds) {
// Each next group should fill almost everything, while the previous group
// should occupy what's left.
- auto error_position = std::adjacent_find(
+ auto* error_position = std::adjacent_find(
std::begin(item_groups), std::end(item_groups),
[&](const ItemGroup& previous, const ItemGroup& current) {
auto ids = GetHistoryIdsUpTo(current.max_id);
« no previous file with comments | « components/ntp_snippets/remote/remote_suggestion_unittest.cc ('k') | content/browser/child_process_launcher_helper_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698