Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz

This commit is contained in:
Daniel Holbert
2012-06-26 15:12:13 -07:00
parent 652ed38d6e
commit 7673c1f0aa
5 changed files with 116 additions and 11 deletions

View File

@@ -95,6 +95,9 @@
#include "nsIDOMXULDocument.h"
#include "nsIXULDocument.h"
#endif
#ifdef MOZ_FLEXBOX
#include "nsFlexContainerFrame.h"
#endif
#ifdef ACCESSIBILITY
#include "nsAccessibilityService.h"
#endif
@@ -4293,17 +4296,6 @@ nsCSSFrameConstructor::BuildScrollFrame(nsFrameConstructorState& aState,
return NS_OK;
}
#ifdef MOZ_FLEXBOX
// TEMPORARY CHUNK: No-op constructor, so we can compile at this
// intermediate state. Removed in subsequent patch.
nsIFrame*
NS_NewFlexContainerFrame(nsIPresShell* aPresShell,
nsStyleContext* aContext)
{
return nsnull;
}
#endif // MOZ_FLEXBOX
const nsCSSFrameConstructor::FrameConstructionData*
nsCSSFrameConstructor::FindDisplayData(const nsStyleDisplay* aDisplay,
Element* aElement,