зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1628692 - Prepare dom/base for making FallibleTArray uncopyable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72625
This commit is contained in:
Родитель
3fdf472914
Коммит
876336129a
|
@ -914,7 +914,7 @@ already_AddRefed<Promise> ChromeUtils::RequestProcInfo(GlobalObject& aGlobal,
|
|||
thread->mCpuKernel = entry.cpuKernel;
|
||||
thread->mTid = entry.tid;
|
||||
}
|
||||
procInfo.mThreads = threads;
|
||||
procInfo.mThreads = std::move(threads);
|
||||
|
||||
mozilla::dom::Sequence<mozilla::dom::ChildProcInfoDictionary>
|
||||
children;
|
||||
|
@ -950,9 +950,9 @@ already_AddRefed<Promise> ChromeUtils::RequestProcInfo(GlobalObject& aGlobal,
|
|||
thread->mTid = entry.tid;
|
||||
thread->mName.Assign(entry.name);
|
||||
}
|
||||
childProcInfo->mThreads = threads;
|
||||
childProcInfo->mThreads = std::move(threads);
|
||||
}
|
||||
procInfo.mChildren = children;
|
||||
procInfo.mChildren = std::move(children);
|
||||
domPromise->MaybeResolve(procInfo);
|
||||
}; // end of ProcInfoResolver
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ RefPtr<PerformanceInfoPromise> DocGroup::ReportPerformanceInfo() {
|
|||
->Then(
|
||||
mainThread, __func__,
|
||||
[self, host, pid, windowID, duration, isTopLevel,
|
||||
items](const PerformanceMemoryInfo& aMemoryInfo) {
|
||||
items = std::move(items)](const PerformanceMemoryInfo& aMemoryInfo) {
|
||||
PerformanceInfo info =
|
||||
PerformanceInfo(host, pid, windowID, duration,
|
||||
self->mPerformanceCounter->GetID(), false,
|
||||
|
|
Загрузка…
Ссылка в новой задаче