| Index: components/metrics/public/cpp/call_stack_profile_struct_traits.h
|
| diff --git a/components/metrics/public/cpp/call_stack_profile_struct_traits.h b/components/metrics/public/cpp/call_stack_profile_struct_traits.h
|
| index d2ec654205dfe019590e0d52f16b61edfd72e274..157ba7172ef9524a96df168e9516f7e1c0f8c7fd 100644
|
| --- a/components/metrics/public/cpp/call_stack_profile_struct_traits.h
|
| +++ b/components/metrics/public/cpp/call_stack_profile_struct_traits.h
|
| @@ -34,13 +34,9 @@ struct StructTraits<metrics::mojom::CallStackModuleDataView,
|
|
|
| static bool Read(metrics::mojom::CallStackModuleDataView data,
|
| base::StackSamplingProfiler::Module* out) {
|
| - // Linux has the longest build id at 40 bytes.
|
| - static const size_t kMaxIDSize = 40;
|
| -
|
| std::string id;
|
| base::FilePath filename;
|
| - if (!data.ReadId(&id) || id.size() > kMaxIDSize ||
|
| - !data.ReadFilename(&filename))
|
| + if (!data.ReadId(&id) || !data.ReadFilename(&filename))
|
| return false;
|
|
|
| *out =
|
|
|