Bug 1629732 - Fix non-unified build errors in layout/forms. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D70977

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Botond Ballo 2020-04-15 04:29:46 +00:00
parent 744c7084c2
commit 33dd332030
3 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,7 @@
#include "nsCSSAnonBoxes.h"
#include "nsHTMLParts.h"
#include "nsIFormControl.h"
#include "nsILayoutHistoryState.h"
#include "nsNameSpaceManager.h"
#include "nsListControlFrame.h"
#include "nsPIDOMWindow.h"

View File

@ -14,6 +14,7 @@
#include "mozilla/PresShell.h"
#include "mozilla/Maybe.h"
#include "nsCSSAnonBoxes.h"
#include "nsCSSFrameConstructor.h"
#include "nsCSSRendering.h"
#include "nsDisplayList.h"
#include "nsGkAtoms.h"
@ -385,7 +386,7 @@ void nsFieldSetFrame::Reflow(nsPresContext* aPresContext,
ReflowOutput& aDesiredSize,
const ReflowInput& aReflowInput,
nsReflowStatus& aStatus) {
using LegendAlignValue = HTMLLegendElement::LegendAlignValue;
using LegendAlignValue = mozilla::dom::HTMLLegendElement::LegendAlignValue;
MarkInReflow();
DO_GLOBAL_REFLOW_COUNT("nsFieldSetFrame");

View File

@ -8,6 +8,7 @@
#define nsLegendFrame_h___
#include "mozilla/Attributes.h"
#include "mozilla/dom/HTMLLegendElement.h"
#include "nsBlockFrame.h"
class nsLegendFrame final : public nsBlockFrame {
@ -29,7 +30,7 @@ class nsLegendFrame final : public nsBlockFrame {
virtual nsresult GetFrameName(nsAString& aResult) const override;
#endif
HTMLLegendElement::LegendAlignValue GetLogicalAlign(
mozilla::dom::HTMLLegendElement::LegendAlignValue GetLogicalAlign(
mozilla::WritingMode aCBWM);
};