aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
blob: 2d96b409c7f77259fd73ef7a9eb4a076396f2d46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig	2021-04-14 01:08:40 UTC
+++ chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
@@ -39,10 +39,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
     // Note that this initializes the delegate asynchronously, but since
     // the delegate will only be used from the IO thread, it is guaranteed
     // to be created before use of it expects it to be there.
+#if !defined(OS_FREEBSD)
     CreateMTPDeviceAsyncDelegate(
         device_location, read_only,
         base::BindOnce(&MTPDeviceMapService::AddAsyncDelegate,
                        base::Unretained(this), device_location, read_only));
+#endif
     mtp_device_usage_map_[key] = 0;
   }