chore: bump chromium to 9b2191ea59cba1e2f6da4dbb7dee0 (master) (#25995)
This commit is contained in:
parent
284c1b9539
commit
bf89237f60
77 changed files with 441 additions and 610 deletions
|
@ -222,14 +222,14 @@ void ElectronApiServiceImpl::TakeHeapSnapshot(
|
|||
TakeHeapSnapshotCallback callback) {
|
||||
base::ThreadRestrictions::ScopedAllowIO allow_io;
|
||||
|
||||
base::PlatformFile platform_file;
|
||||
base::ScopedPlatformFile platform_file;
|
||||
if (mojo::UnwrapPlatformFile(std::move(file), &platform_file) !=
|
||||
MOJO_RESULT_OK) {
|
||||
LOG(ERROR) << "Unable to get the file handle from mojo.";
|
||||
std::move(callback).Run(false);
|
||||
return;
|
||||
}
|
||||
base::File base_file(platform_file);
|
||||
base::File base_file(std::move(platform_file));
|
||||
|
||||
bool success =
|
||||
electron::TakeHeapSnapshot(blink::MainThreadIsolate(), &base_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue