mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1175800 - Remove typedefs from nsComputedDOMStyle.cpp as they interfere with others under unified compilation. r=bzbarsky
--HG-- extra : rebase_source : cf9acc0012eae22322a653001bbdab1246264a5f
This commit is contained in:
parent
a3380043e5
commit
0c42dab52b
@ -51,9 +51,6 @@
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
typedef const nsStyleBackground::Position Position;
|
||||
typedef const nsStyleBackground::Position::PositionCoord PositionCoord;
|
||||
typedef nsStyleTransformMatrix::TransformReferenceBox TransformReferenceBox;
|
||||
|
||||
#if defined(DEBUG_bzbarsky) || defined(DEBUG_caillon)
|
||||
#define DEBUG_ComputedDOMStyle
|
||||
@ -1265,7 +1262,8 @@ nsComputedDOMStyle::DoGetTransform()
|
||||
* using the named transforms. Until a real solution is found, we'll just
|
||||
* use this approach.
|
||||
*/
|
||||
TransformReferenceBox refBox(mInnerFrame, nsSize(0, 0));
|
||||
nsStyleTransformMatrix::TransformReferenceBox refBox(mInnerFrame,
|
||||
nsSize(0, 0));
|
||||
|
||||
bool dummy;
|
||||
gfx3DMatrix matrix =
|
||||
@ -2082,7 +2080,8 @@ nsComputedDOMStyle::DoGetBackgroundOrigin()
|
||||
}
|
||||
|
||||
void
|
||||
nsComputedDOMStyle::SetValueToPositionCoord(const PositionCoord& aCoord,
|
||||
nsComputedDOMStyle::SetValueToPositionCoord(
|
||||
const nsStyleBackground::Position::PositionCoord& aCoord,
|
||||
nsROCSSPrimitiveValue* aValue)
|
||||
{
|
||||
if (!aCoord.mHasPercent) {
|
||||
@ -2097,7 +2096,8 @@ nsComputedDOMStyle::SetValueToPositionCoord(const PositionCoord& aCoord,
|
||||
}
|
||||
|
||||
void
|
||||
nsComputedDOMStyle::SetValueToPosition(const Position& aPosition,
|
||||
nsComputedDOMStyle::SetValueToPosition(
|
||||
const nsStyleBackground::Position& aPosition,
|
||||
nsDOMCSSValueList* aValueList)
|
||||
{
|
||||
nsROCSSPrimitiveValue* valX = new nsROCSSPrimitiveValue;
|
||||
@ -4998,7 +4998,7 @@ nsComputedDOMStyle::GetFrameBoundsWidthForTransform(nscoord& aWidth)
|
||||
|
||||
AssertFlushedPendingReflows();
|
||||
|
||||
aWidth = TransformReferenceBox(mInnerFrame).Width();
|
||||
aWidth = nsStyleTransformMatrix::TransformReferenceBox(mInnerFrame).Width();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -5012,7 +5012,7 @@ nsComputedDOMStyle::GetFrameBoundsHeightForTransform(nscoord& aHeight)
|
||||
|
||||
AssertFlushedPendingReflows();
|
||||
|
||||
aHeight = TransformReferenceBox(mInnerFrame).Height();
|
||||
aHeight = nsStyleTransformMatrix::TransformReferenceBox(mInnerFrame).Height();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user