From 17ce09b4e7803e64534738e79ae02003ae42d52f Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Mon, 19 Apr 2010 01:06:00 -0700 Subject: [PATCH] Bug 560128 - mAddedScrollPositionListener isn't initialized in nsCanvasFrame, r=roc --HG-- extra : rebase_source : aabbbc498940102ac639604702d41b23353e2038 --- layout/generic/nsCanvasFrame.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layout/generic/nsCanvasFrame.h b/layout/generic/nsCanvasFrame.h index 27085cfa690..6cc148c8d19 100644 --- a/layout/generic/nsCanvasFrame.h +++ b/layout/generic/nsCanvasFrame.h @@ -64,7 +64,9 @@ class nsCanvasFrame : public nsHTMLContainerFrame, { public: nsCanvasFrame(nsStyleContext* aContext) - : nsHTMLContainerFrame(aContext), mDoPaintFocus(PR_FALSE), + : nsHTMLContainerFrame(aContext), + mDoPaintFocus(PR_FALSE), + mAddedScrollPositionListener(PR_FALSE), mAbsoluteContainer(nsGkAtoms::absoluteList) {} NS_DECL_QUERYFRAME_TARGET(nsCanvasFrame)