Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
This commit is contained in:
@@ -1688,7 +1688,7 @@ nsDocShell::FirePageHideNotification(bool aIsUnload)
|
||||
mTiming->NotifyUnloadEventEnd();
|
||||
}
|
||||
|
||||
nsAutoTArray<nsCOMPtr<nsIDocShell>, 8> kids;
|
||||
AutoTArray<nsCOMPtr<nsIDocShell>, 8> kids;
|
||||
uint32_t n = mChildList.Length();
|
||||
kids.SetCapacity(n);
|
||||
for (uint32_t i = 0; i < n; i++) {
|
||||
@@ -4396,7 +4396,7 @@ nsDocShell::RemoveFromSessionHistory()
|
||||
|
||||
int32_t index = 0;
|
||||
sessionHistory->GetIndex(&index);
|
||||
nsAutoTArray<uint64_t, 16> ids;
|
||||
AutoTArray<uint64_t, 16> ids;
|
||||
ids.AppendElement(mHistoryID);
|
||||
internalHistory->RemoveEntries(ids, index);
|
||||
return NS_OK;
|
||||
@@ -4487,7 +4487,7 @@ nsDocShell::ClearFrameHistory(nsISHEntry* aEntry)
|
||||
|
||||
int32_t count = 0;
|
||||
shcontainer->GetChildCount(&count);
|
||||
nsAutoTArray<uint64_t, 16> ids;
|
||||
AutoTArray<uint64_t, 16> ids;
|
||||
for (int32_t i = 0; i < count; ++i) {
|
||||
nsCOMPtr<nsISHEntry> child;
|
||||
shcontainer->GetChildAt(i, getter_AddRefs(child));
|
||||
|
||||
Reference in New Issue
Block a user