Bug 1256040 - Fix some nsGridContainerFrame.h/cpp compile errors in non-unified build. r=dholbert

This commit is contained in:
Mats Palmgren 2016-03-13 00:30:36 +01:00
Родитель 05f70f4fb8
Коммит 7f3197f8cc
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -16,6 +16,7 @@
#include "nsAlgorithm.h" // for clamped()
#include "nsAutoPtr.h"
#include "nsCSSAnonBoxes.h"
#include "nsCSSFrameConstructor.h"
#include "nsDataHashtable.h"
#include "nsDisplayList.h"
#include "nsHashKeys.h"
@ -33,6 +34,7 @@ const uint32_t nsGridContainerFrame::kTranslatedMaxLine =
uint32_t(nsStyleGridLine::kMaxLine - nsStyleGridLine::kMinLine);
const uint32_t nsGridContainerFrame::kAutoLine = kTranslatedMaxLine + 3457U;
typedef nsTHashtable< nsPtrHashKey<nsIFrame> > FrameHashtable;
typedef mozilla::layout::AutoFrameListPtr AutoFrameListPtr;
static void
ReparentFrame(nsIFrame* aFrame, nsContainerFrame* aOldParent,

Просмотреть файл

@ -9,6 +9,7 @@
#ifndef nsGridContainerFrame_h___
#define nsGridContainerFrame_h___
#include "mozilla/Maybe.h"
#include "mozilla/TypeTraits.h"
#include "nsContainerFrame.h"
#include "nsHashKeys.h"
@ -46,6 +47,7 @@ public:
NS_DECL_FRAMEARENA_HELPERS
NS_DECL_QUERYFRAME_TARGET(nsGridContainerFrame)
NS_DECL_QUERYFRAME
typedef mozilla::ComputedGridTrackInfo ComputedGridTrackInfo;
// nsIFrame overrides
void Reflow(nsPresContext* aPresContext,
@ -202,7 +204,7 @@ private:
bool mIsAutoBSize;
};
Maybe<nsGridContainerFrame::Fragmentainer>
mozilla::Maybe<nsGridContainerFrame::Fragmentainer>
GetNearestFragmentainer(const GridReflowState& aState) const;
// @return the consumed size of all continuations so far including this frame