summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-20 19:35:13 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:36:33 +0200
commit168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499 (patch)
treeab1afac4e5d6d6f8b78e544164ab30e3d090aae6 /dom
parentca04b379104159dfe7e73e513a32d65e765f4747 (diff)
downloadUXP-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.tar
UXP-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.tar.gz
UXP-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.tar.lz
UXP-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.tar.xz
UXP-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.zip
Issue #80 - De-unify dom/grid
Diffstat (limited to 'dom')
-rw-r--r--dom/grid/GridDimension.h2
-rw-r--r--dom/grid/GridLines.cpp1
-rw-r--r--dom/grid/GridLines.h7
-rw-r--r--dom/grid/moz.build2
4 files changed, 10 insertions, 2 deletions
diff --git a/dom/grid/GridDimension.h b/dom/grid/GridDimension.h
index 7a3373521..ec9635444 100644
--- a/dom/grid/GridDimension.h
+++ b/dom/grid/GridDimension.h
@@ -7,11 +7,13 @@
#ifndef mozilla_dom_GridDimension_h
#define mozilla_dom_GridDimension_h
+#include "mozilla/dom/GridBinding.h"
#include "nsWrapperCache.h"
namespace mozilla {
struct ComputedGridTrackInfo;
+struct ComputedGridLineInfo;
namespace dom {
diff --git a/dom/grid/GridLines.cpp b/dom/grid/GridLines.cpp
index 898885346..2604eff6c 100644
--- a/dom/grid/GridLines.cpp
+++ b/dom/grid/GridLines.cpp
@@ -6,6 +6,7 @@
#include "GridLines.h"
+#include "GridArea.h"
#include "GridDimension.h"
#include "GridLine.h"
#include "mozilla/dom/GridBinding.h"
diff --git a/dom/grid/GridLines.h b/dom/grid/GridLines.h
index 921168204..784fe2d28 100644
--- a/dom/grid/GridLines.h
+++ b/dom/grid/GridLines.h
@@ -7,10 +7,15 @@
#ifndef mozilla_dom_GridLines_h
#define mozilla_dom_GridLines_h
-#include "nsTArray.h"
+#include "mozilla/dom/GridBinding.h"
+#include "nsGridContainerFrame.h"
#include "nsWrapperCache.h"
namespace mozilla {
+
+struct ComputedGridTrackInfo;
+struct ComputedGridLineInfo;
+
namespace dom {
class GridDimension;
diff --git a/dom/grid/moz.build b/dom/grid/moz.build
index 96d5c3151..62025c98e 100644
--- a/dom/grid/moz.build
+++ b/dom/grid/moz.build
@@ -16,7 +16,7 @@ EXPORTS.mozilla.dom += [
'GridTracks.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'Grid.cpp',
'GridArea.cpp',
'GridDimension.cpp',