зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1723050 - Part 11: Replace typedef by using in dom/file/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121308
This commit is contained in:
Родитель
a38945c762
Коммит
87f7274763
|
@ -41,7 +41,7 @@ class Blob : public nsSupportsWeakReference, public nsWrapperCache {
|
|||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Blob)
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_DOM_BLOB_IID)
|
||||
|
||||
typedef OwningArrayBufferViewOrArrayBufferOrBlobOrUSVString BlobPart;
|
||||
using BlobPart = OwningArrayBufferViewOrArrayBufferOrBlobOrUSVString;
|
||||
|
||||
// This creates a Blob or a File based on the type of BlobImpl.
|
||||
static Blob* Create(nsIGlobalObject* aGlobal, BlobImpl* aImpl);
|
||||
|
|
|
@ -108,7 +108,7 @@ class MemoryBlobImplDataOwnerMemoryReporter final : public nsIMemoryReporter {
|
|||
|
||||
NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
|
||||
nsISupports* aData, bool aAnonymize) override {
|
||||
typedef MemoryBlobImpl::DataOwner DataOwner;
|
||||
using DataOwner = MemoryBlobImpl::DataOwner;
|
||||
|
||||
StaticMutexAutoLock lock(DataOwner::sDataOwnerMutex);
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ class MemoryBlobImpl final : public BaseBlobImpl {
|
|||
public nsISeekableStream,
|
||||
public nsIIPCSerializableInputStream,
|
||||
public nsICloneableInputStream {
|
||||
typedef MemoryBlobImpl::DataOwner DataOwner;
|
||||
using DataOwner = MemoryBlobImpl::DataOwner;
|
||||
|
||||
public:
|
||||
static nsresult Create(DataOwner* aDataOwner, uint32_t aStart,
|
||||
|
|
Загрузка…
Ссылка в новой задаче