DescriptionPossible fix for ExtensionFunctionDispatcher::DispatchWithCallbackInternal.
This is a possible fix for crashes observed in this function. The member
variable browser_context_ is possibly invalid because the object may
be freed by function->Run(). To avoid this we move the call to
ProcessManager::Get() to before where function->Run() is called.
BUG=441679
Committed: https://crrev.com/accea33ab9847b38b96bfe50c85b27148e76cde1
Cr-Commit-Position: refs/heads/master@{#308214}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|