diff --git a/layout/base/DisplayPortUtils.cpp b/layout/base/DisplayPortUtils.cpp index 9179a45f88ce..afec3b3b85c7 100644 --- a/layout/base/DisplayPortUtils.cpp +++ b/layout/base/DisplayPortUtils.cpp @@ -3304,12 +3304,28 @@ return false ; } +DisplayPortPropertyData +* +rectData += +nullptr +; +DisplayPortMarginsPropertyData +* +marginsData += +nullptr +; if ( ! -HasDisplayPort +GetDisplayPortData ( aContent +& +rectData +& +marginsData ) ) { @@ -3317,32 +3333,10 @@ return false ; } -DisplayPortMarginsPropertyData -* -currentData -= -static_cast -< -DisplayPortMarginsPropertyData -* -> -( -aContent -- -> -GetProperty -( -nsGkAtoms -: -: -DisplayPortMargins -) -) -; if ( ! -currentData +marginsData ) { / @@ -3403,7 +3397,7 @@ true } if ( -currentData +marginsData - > mMargins