summaryrefslogtreecommitdiff
path: root/layout/generic/ReflowInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/ReflowInput.h')
-rw-r--r--layout/generic/ReflowInput.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/layout/generic/ReflowInput.h b/layout/generic/ReflowInput.h
index d8e0518399..a70549d8eb 100644
--- a/layout/generic/ReflowInput.h
+++ b/layout/generic/ReflowInput.h
@@ -747,6 +747,11 @@ public:
* Get the used line-height property. The return value will be >= 0.
*/
nscoord GetLineHeight() const;
+
+ /**
+ * Set the used line-height. aLineHeight must be >= 0.
+ */
+ void SetLineHeight(nscoord aLineHeight);
/**
* Calculate the used line-height property without a reflow input instance.