diff --git a/layout/forms/nsButtonFrameRenderer.cpp b/layout/forms/nsButtonFrameRenderer.cpp index fccd11e267b5..598610cf72ea 100644 --- a/layout/forms/nsButtonFrameRenderer.cpp +++ b/layout/forms/nsButtonFrameRenderer.cpp @@ -340,8 +340,6 @@ class nsDisplayButtonBorder final : public nsPaintedDisplayItem { } MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayButtonBorder) - virtual bool MustPaintOnContentSide() const override { return true; } - virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect, HitTestState* aState, nsTArray* aOutFrames) override {