зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ce488115ce
Коммит
dc6401042e
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче