diff --git a/src/google/protobuf/compiler/cpp/tools/analyze_profile_proto.cc b/src/google/protobuf/compiler/cpp/tools/analyze_profile_proto.cc index 1da40b5a35ecf..426b9ddd26993 100644 --- a/src/google/protobuf/compiler/cpp/tools/analyze_profile_proto.cc +++ b/src/google/protobuf/compiler/cpp/tools/analyze_profile_proto.cc @@ -270,7 +270,7 @@ absl::StatusOr AccessInfoFromFile(absl::string_view profile) { } AccessInfo access_info_proto; - if (!access_info_proto.ParseFromCord(cord)) { + if (!access_info_proto.ParseFromString(cord)) { return absl::DataLossError("Failed to parse AccessInfo"); }