aboutsummaryrefslogtreecommitdiff
path: root/src/trace_processor/db/typed_column.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace_processor/db/typed_column.h')
-rw-r--r--src/trace_processor/db/typed_column.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace_processor/db/typed_column.h b/src/trace_processor/db/typed_column.h
index a8fc42450..d28683401 100644
--- a/src/trace_processor/db/typed_column.h
+++ b/src/trace_processor/db/typed_column.h
@@ -162,7 +162,7 @@ template <typename Id>
struct IdColumn : public Column {
Id operator[](uint32_t row) const { return Id(row_map().Get(row)); }
base::Optional<uint32_t> IndexOf(Id id) const {
- return row_map().IndexOf(id.value);
+ return row_map().RowOf(id.value);
}
// Reinterpret cast a Column to IdColumn or crash if that is likely to be