From 25a099edc55018aa0bccd0ec56ec62423da54700 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 10 Feb 2006 20:54:13 +0000 Subject: [PATCH] Make sure to actually not construct frames, not just hand it off to someone else. Bug 326495, r=sicking, sr=tor git-svn-id: svn://10.0.0.236/trunk@189576 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index d0bd09b52b6..a7c933bccf1 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -7777,8 +7777,10 @@ nsCSSFrameConstructor::ConstructSVGFrame(nsFrameConstructorState& aState, // references, things don't work right. // XXX FIXME XXX if (!hasRequiredExtentions || !hasRequiredFeatures || - !hasSystemLanguage) + !hasSystemLanguage) { + *aHaltProcessing = PR_TRUE; return NS_OK; + } } // Make sure to keep IsSpecialContent in synch with this code