Bug 1373625 - Silence a -Wunused-lambda-capture warning in nsContainerFrame.cpp r=dholbert

MozReview-Commit-ID: 6PaCykerJHw

--HG--
extra : rebase_source : 1df6744a57536d79cc2e24df19a85f216105f013
This commit is contained in:
Sylvestre Ledru 2017-06-16 14:08:20 +02:00
Родитель ce488115ce
Коммит dc6401042e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -340,10 +340,12 @@ nsContainerFrame::GetChildLists(nsTArray<ChildList>* aLists) const
} else if (aProp == OverflowContainersProperty()) { } else if (aProp == OverflowContainersProperty()) {
MOZ_ASSERT(IsFrameOfType(nsIFrame::eCanContainOverflowContainers), MOZ_ASSERT(IsFrameOfType(nsIFrame::eCanContainOverflowContainers),
"found unexpected OverflowContainersProperty"); "found unexpected OverflowContainersProperty");
Unused << this; // silence clang -Wunused-lambda-capture in opt builds
L(aValue)->AppendIfNonempty(aLists, kOverflowContainersList); L(aValue)->AppendIfNonempty(aLists, kOverflowContainersList);
} else if (aProp == ExcessOverflowContainersProperty()) { } else if (aProp == ExcessOverflowContainersProperty()) {
MOZ_ASSERT(IsFrameOfType(nsIFrame::eCanContainOverflowContainers), MOZ_ASSERT(IsFrameOfType(nsIFrame::eCanContainOverflowContainers),
"found unexpected ExcessOverflowContainersProperty"); "found unexpected ExcessOverflowContainersProperty");
Unused << this; // silence clang -Wunused-lambda-capture in opt builds
L(aValue)->AppendIfNonempty(aLists, kExcessOverflowContainersList); L(aValue)->AppendIfNonempty(aLists, kExcessOverflowContainersList);
} else if (aProp == BackdropProperty()) { } else if (aProp == BackdropProperty()) {
L(aValue)->AppendIfNonempty(aLists, kBackdropList); L(aValue)->AppendIfNonempty(aLists, kBackdropList);