From 24e05669f6c62062865e8aaff677d9526f512322 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Mon, 26 Mar 2012 15:36:13 -0700 Subject: [PATCH] Bug 739439: Make nsFrameConstructorState::GetGeometricParent() a const method. r=bz --- layout/base/nsCSSFrameConstructor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 9de397bd32f..6b020b6e5cd 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -790,7 +790,7 @@ public: // struct given by aStyleDisplay and parent's frame given by // aContentParentFrame. nsIFrame* GetGeometricParent(const nsStyleDisplay* aStyleDisplay, - nsIFrame* aContentParentFrame); + nsIFrame* aContentParentFrame) const; /** * Function to add a new frame to the right frame list. This MUST be called @@ -1054,7 +1054,7 @@ nsFrameConstructorState::PushFloatContainingBlock(nsIFrame* aNewFloatContainingB nsIFrame* nsFrameConstructorState::GetGeometricParent(const nsStyleDisplay* aStyleDisplay, - nsIFrame* aContentParentFrame) + nsIFrame* aContentParentFrame) const { NS_PRECONDITION(aStyleDisplay, "Must have display struct!");