diff --git a/layout/generic/nsRubyBaseFrame.cpp b/layout/generic/nsRubyBaseFrame.cpp index 7eeb31ea5cfd..668bf77fdaac 100644 --- a/layout/generic/nsRubyBaseFrame.cpp +++ b/layout/generic/nsRubyBaseFrame.cpp @@ -22,7 +22,7 @@ using namespace mozilla; NS_QUERYFRAME_HEAD(nsRubyBaseFrame) NS_QUERYFRAME_ENTRY(nsRubyBaseFrame) -NS_QUERYFRAME_TAIL_INHERITING(nsRubyBaseFrameSuper) +NS_QUERYFRAME_TAIL_INHERITING(nsRubyContentFrame) NS_IMPL_FRAMEARENA_HELPERS(nsRubyBaseFrame) diff --git a/layout/generic/nsRubyBaseFrame.h b/layout/generic/nsRubyBaseFrame.h index 8f9951c300da..b6dde1029380 100644 --- a/layout/generic/nsRubyBaseFrame.h +++ b/layout/generic/nsRubyBaseFrame.h @@ -11,8 +11,6 @@ #include "nsRubyContentFrame.h" -typedef nsRubyContentFrame nsRubyBaseFrameSuper; - /** * Factory function. * @return a newly allocated nsRubyBaseFrame (infallible) @@ -20,7 +18,7 @@ typedef nsRubyContentFrame nsRubyBaseFrameSuper; nsContainerFrame* NS_NewRubyBaseFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); -class nsRubyBaseFrame final : public nsRubyBaseFrameSuper +class nsRubyBaseFrame final : public nsRubyContentFrame { public: NS_DECL_FRAMEARENA_HELPERS @@ -38,7 +36,7 @@ protected: friend nsContainerFrame* NS_NewRubyBaseFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); explicit nsRubyBaseFrame(nsStyleContext* aContext) - : nsRubyBaseFrameSuper(aContext) {} + : nsRubyContentFrame(aContext) {} }; #endif /* nsRubyBaseFrame_h___ */