diff --git a/shell/browser/api/electron_api_app_mas.mm b/shell/browser/api/electron_api_app_mas.mm index a23a4f503d34..56f023d44102 100644 --- a/shell/browser/api/electron_api_app_mas.mm +++ b/shell/browser/api/electron_api_app_mas.mm @@ -32,12 +32,13 @@ base::RepeatingCallback App::StartAccessingSecurityScopedResource( // Create bookmarkUrl from NSData. BOOL isStale = false; NSError* error = nil; - NSURL* bookmarkUrl = - [NSURL URLByResolvingBookmarkData:bookmarkData - options:NSURLBookmarkResolutionWithSecurityScope - relativeToURL:nil - bookmarkDataIsStale:&isStale - error:&error]; + NSURL* bookmarkUrl = [NSURL + URLByResolvingBookmarkData:bookmarkData + options:NSURLBookmarkResolutionWithSecurityScope | + NSURLBookmarkResolutionWithoutMounting + relativeToURL:nil + bookmarkDataIsStale:&isStale + error:&error]; if (error != nil) { NSString* err =