fix: change gin_wrappable to scoped crash key (#30578)
This commit is contained in:
parent
8699124397
commit
cbeae20438
3 changed files with 13 additions and 8 deletions
|
@ -185,7 +185,7 @@ void SetPlatformCrashKey() {
|
|||
#endif
|
||||
}
|
||||
|
||||
void SetCrashKeyForGinWrappable(gin::WrapperInfo* info) {
|
||||
std::string GetCrashValueForGinWrappable(gin::WrapperInfo* info) {
|
||||
std::string crash_location;
|
||||
|
||||
// Adds a breadcrumb for crashes within gin::WrappableBase::SecondWeakCallback
|
||||
|
@ -254,7 +254,7 @@ void SetCrashKeyForGinWrappable(gin::WrapperInfo* info) {
|
|||
"Deleted kWrapperInfo does not match listed component. Please review "
|
||||
"listed crash keys.";
|
||||
|
||||
SetCrashKey("gin-wrappable-fatal.location", crash_location);
|
||||
return crash_location;
|
||||
}
|
||||
|
||||
} // namespace crash_keys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue