summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsFrame.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-20 09:13:56 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-20 09:13:56 +0200
commit83459c927715bd6d2be1e339ff723b4feb3e5fe7 (patch)
tree9188193a4a5c4d3591ffee3e5b2bcaedc77e4ea1 /layout/generic/nsFrame.h
parentb12973bc9aa26f548549306eaec4146bf60d65d5 (diff)
downloadUXP-83459c927715bd6d2be1e339ff723b4feb3e5fe7.tar
UXP-83459c927715bd6d2be1e339ff723b4feb3e5fe7.tar.gz
UXP-83459c927715bd6d2be1e339ff723b4feb3e5fe7.tar.lz
UXP-83459c927715bd6d2be1e339ff723b4feb3e5fe7.tar.xz
UXP-83459c927715bd6d2be1e339ff723b4feb3e5fe7.zip
Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis
Diffstat (limited to 'layout/generic/nsFrame.h')
-rw-r--r--layout/generic/nsFrame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/nsFrame.h b/layout/generic/nsFrame.h
index f996f57d7..af1c95ef2 100644
--- a/layout/generic/nsFrame.h
+++ b/layout/generic/nsFrame.h
@@ -845,7 +845,7 @@ public:
struct DR_init_offsets_cookie {
DR_init_offsets_cookie(nsIFrame* aFrame, mozilla::SizeComputationInput* aState,
- const mozilla::LogicalSize& aPercentBasis,
+ nscoord aPercentBasis,
const nsMargin* aBorder,
const nsMargin* aPadding);
~DR_init_offsets_cookie();