Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
index e8ac361dc4eb73424f1a4a1bf59a364939e12f2c..f5285dc6f2af80089773d9116f80a1167eb9c148 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
@@ -6,6 +6,8 @@ |
#define NGLengthUtils_h |
#include "core/CoreExport.h" |
+#include "core/layout/ng/ng_direction.h" |
+#include "core/layout/ng/ng_writing_mode.h" |
namespace blink { |
class ComputedStyle; |
@@ -52,7 +54,9 @@ CORE_EXPORT LayoutUnit computeBlockSizeForFragment(const NGConstraintSpace&, |
LayoutUnit contentSize); |
CORE_EXPORT NGBoxStrut computeMargins(const NGConstraintSpace&, |
- const ComputedStyle&); |
+ const ComputedStyle&, |
+ const NGWritingMode writing_mode, |
+ const NGDirection direction); |
CORE_EXPORT NGBoxStrut computeBorders(const ComputedStyle&); |