Bug 852803. nsHTMLCanvasFrame::Init should call its superclass' init, not some random ancestor class. r=tn

This commit is contained in:
Boris Zbarsky
2013-03-21 15:09:15 -04:00
parent ec03846ec1
commit b0d0bdf050

View File

@@ -95,7 +95,7 @@ nsHTMLCanvasFrame::Init(nsIContent* aContent,
nsIFrame* aParent,
nsIFrame* aPrevInFlow)
{
nsSplittableFrame::Init(aContent, aParent, aPrevInFlow);
nsContainerFrame::Init(aContent, aParent, aPrevInFlow);
// We can fill in the canvas before the canvas frame is created, in
// which case we never get around to marking the layer active. Therefore,