diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index ee239693a378..f6ed4e4f3ee1 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -5560,10 +5560,9 @@ nsCSSFrameConstructor::GetAbsoluteContainingBlock(nsIFrame* aFrame) } } -#ifdef DEBUG - if (!containingBlock) - NS_WARNING("Positioned frame that does not handle positioned kids; looking further up the parent chain"); -#endif + // We sometimes have a null containing block here because we + // haven't yet fixed bug 455338. Once we fix that we shouldn't + // have to loop here. } }