diff --git a/layout/forms/nsTextControlFrame.h b/layout/forms/nsTextControlFrame.h index c8d7a0fb8404..8b79050717c0 100644 --- a/layout/forms/nsTextControlFrame.h +++ b/layout/forms/nsTextControlFrame.h @@ -155,8 +155,8 @@ public: //==== NSISTATEFULFRAME - UniquePtr SaveState() override; - NS_IMETHOD RestoreState(PresState* aState) override; + mozilla::UniquePtr SaveState() override; + NS_IMETHOD RestoreState(mozilla::PresState* aState) override; //=== END NSISTATEFULFRAME diff --git a/layout/xul/nsSliderFrame.h b/layout/xul/nsSliderFrame.h index 74505ca05b37..f41a7537949f 100644 --- a/layout/xul/nsSliderFrame.h +++ b/layout/xul/nsSliderFrame.h @@ -18,7 +18,7 @@ class nsITimer; class nsSliderFrame; -nsIFrame* NS_NewSliderFrame(nsIPresShell* aPresShell, ComputedStyle* aStyle); +nsIFrame* NS_NewSliderFrame(nsIPresShell* aPresShell, mozilla::ComputedStyle* aStyle); class nsSliderMediator final : public nsIDOMEventListener {