зеркало из https://github.com/mozilla/pjs.git
Removed usage of GetAutoMarginSize
This commit is contained in:
Родитель
fbf70ee546
Коммит
10ed4226e9
|
@ -132,7 +132,7 @@ static nscoord CalcSideFor(const nsIFrame* aFrame, const nsStyleCoord& aCoord,
|
|||
|
||||
switch (aCoord.GetUnit()) {
|
||||
case eStyleUnit_Auto:
|
||||
aFrame->GetAutoMarginSize(aSide, result);
|
||||
// Auto margins are handled by layout
|
||||
break;
|
||||
|
||||
case eStyleUnit_Inherit:
|
||||
|
|
|
@ -132,7 +132,7 @@ static nscoord CalcSideFor(const nsIFrame* aFrame, const nsStyleCoord& aCoord,
|
|||
|
||||
switch (aCoord.GetUnit()) {
|
||||
case eStyleUnit_Auto:
|
||||
aFrame->GetAutoMarginSize(aSide, result);
|
||||
// Auto margins are handled by layout
|
||||
break;
|
||||
|
||||
case eStyleUnit_Inherit:
|
||||
|
|
|
@ -132,7 +132,7 @@ static nscoord CalcSideFor(const nsIFrame* aFrame, const nsStyleCoord& aCoord,
|
|||
|
||||
switch (aCoord.GetUnit()) {
|
||||
case eStyleUnit_Auto:
|
||||
aFrame->GetAutoMarginSize(aSide, result);
|
||||
// Auto margins are handled by layout
|
||||
break;
|
||||
|
||||
case eStyleUnit_Inherit:
|
||||
|
|
Загрузка…
Ссылка в новой задаче