[PDF Ink Signatures] In AddFont() save the font name as a crash key
Read the name over IPC so that the crash key is present if
deserialization fails.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[PDF Ink Signatures] In AddFont() save the font name as a crash keyMove this to the end?
```suggestion
[PDF Ink Signatures] Save the font name as a crash key in AddFont()
```
std::string font_name = *item_as_dict.FindString("name");Nit: Maybe we can move this up to match the order of arguments?
std::string font_name = *item_as_dict.FindString("name");As far as I see in this patch (again not very sure what happens in the rest of the codebase) but this font_name variable looks immutable to me. Even the functions expect a const std::string. While this does compile as is, wondering if this should be const.
SCOPED_CRASH_KEY_STRING64("pdf", "font_name", font_name);Is there a restriction on the length of `font_name` of some kind, or anywhere this is truncated?
Perhaps we could increase it?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |