mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1228479 - Remove redundant blob handling in BluetoothMapRequestHandle::ReplyToFolderListing, r=shuang
This commit is contained in:
parent
829cbf2edb
commit
b99794a59f
@ -66,20 +66,8 @@ BluetoothMapRequestHandle::ReplyToFolderListing(long aMasId,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
// In-process reply
|
||||
bs->ReplyToMapFolderListing(aMasId, aFolderlists,
|
||||
new BluetoothVoidReplyRunnable(nullptr, promise));
|
||||
} else {
|
||||
ContentChild *cc = ContentChild::GetSingleton();
|
||||
if (!cc) {
|
||||
aRv.Throw(NS_ERROR_FAILURE);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bs->ReplyToMapFolderListing(aMasId, aFolderlists,
|
||||
new BluetoothVoidReplyRunnable(nullptr, promise));
|
||||
}
|
||||
bs->ReplyToMapFolderListing(aMasId, aFolderlists,
|
||||
new BluetoothVoidReplyRunnable(nullptr, promise));
|
||||
|
||||
return promise.forget();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user