mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1289211 - Rename InfallibleTArray to nsTArray in widget/ r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D36969 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ddc0bfb994
commit
ecfe564e69
@ -35,7 +35,7 @@ class BrowserParent;
|
||||
|
||||
class ContentCache {
|
||||
public:
|
||||
typedef InfallibleTArray<LayoutDeviceIntRect> RectArray;
|
||||
typedef nsTArray<LayoutDeviceIntRect> RectArray;
|
||||
typedef widget::IMENotification IMENotification;
|
||||
|
||||
ContentCache();
|
||||
|
@ -59,7 +59,7 @@ class nsBaseFilePicker : public nsIFilePicker {
|
||||
nsCOMPtr<nsPIDOMWindowOuter> mParent;
|
||||
int16_t mMode;
|
||||
nsString mOkButtonLabel;
|
||||
InfallibleTArray<nsString> mRawFilters;
|
||||
nsTArray<nsString> mRawFilters;
|
||||
};
|
||||
|
||||
#endif // nsBaseFilePicker_h__
|
||||
|
@ -134,7 +134,7 @@ nsFilePickerProxy::Open(nsIFilePickerShownCallback* aCallback) {
|
||||
mozilla::ipc::IPCResult nsFilePickerProxy::Recv__delete__(
|
||||
const MaybeInputData& aData, const int16_t& aResult) {
|
||||
if (aData.type() == MaybeInputData::TInputBlobs) {
|
||||
const InfallibleTArray<IPCBlob>& blobs = aData.get_InputBlobs().blobs();
|
||||
const nsTArray<IPCBlob>& blobs = aData.get_InputBlobs().blobs();
|
||||
for (uint32_t i = 0; i < blobs.Length(); ++i) {
|
||||
RefPtr<BlobImpl> blobImpl = IPCBlobUtils::Deserialize(blobs[i]);
|
||||
NS_ENSURE_TRUE(blobImpl, IPC_OK());
|
||||
|
@ -74,8 +74,8 @@ class nsFilePickerProxy : public nsBaseFilePicker,
|
||||
|
||||
bool mIPCActive;
|
||||
|
||||
InfallibleTArray<nsString> mFilters;
|
||||
InfallibleTArray<nsString> mFilterNames;
|
||||
nsTArray<nsString> mFilters;
|
||||
nsTArray<nsString> mFilterNames;
|
||||
};
|
||||
|
||||
#endif // NSFILEPICKERPROXY_H
|
||||
|
@ -391,8 +391,8 @@ class IMMHandler final {
|
||||
nsWindow* mComposingWindow;
|
||||
RefPtr<TextEventDispatcher> mDispatcher;
|
||||
nsString mCompositionString;
|
||||
InfallibleTArray<uint32_t> mClauseArray;
|
||||
InfallibleTArray<uint8_t> mAttributeArray;
|
||||
nsTArray<uint32_t> mClauseArray;
|
||||
nsTArray<uint8_t> mAttributeArray;
|
||||
|
||||
int32_t mCursorPosition;
|
||||
uint32_t mCompositionStart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user