summaryrefslogtreecommitdiffstats
path: root/layout/base/nsPresContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/nsPresContext.h')
-rw-r--r--layout/base/nsPresContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/layout/base/nsPresContext.h b/layout/base/nsPresContext.h
index bc4e70dbcf..563dac0eae 100644
--- a/layout/base/nsPresContext.h
+++ b/layout/base/nsPresContext.h
@@ -1397,7 +1397,8 @@ class nsPresContext : public nsISupports, public mozilla::SupportsWeakPtr {
#ifdef DEBUG
private:
friend struct nsAutoLayoutPhase;
- mozilla::EnumeratedArray<nsLayoutPhase, nsLayoutPhase::COUNT, uint32_t>
+ mozilla::EnumeratedArray<nsLayoutPhase, uint32_t,
+ size_t(nsLayoutPhase::COUNT)>
mLayoutPhaseCount;
public: