Bug 1402246 - Remove "friend struct" declarations in nsStyleStruct.h. r=heycam

Those structs do not have any private section, so those "friend struct"
declarations are not needed.

MozReview-Commit-ID: BYPPPLAdiEQ

--HG--
extra : rebase_source : 58cb78f8d6f8c60c7345ece204326cf580d5905f
This commit is contained in:
Ting-Yu Lin 2017-09-22 15:30:36 +08:00
Родитель 3e4bc7a1e3
Коммит b6b721ba8f
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -640,8 +640,6 @@ struct nsStyleImageLayers {
static bool IsInitialPositionForLayerType(mozilla::Position aPosition, LayerType aType);
struct Size;
friend struct Size;
struct Size {
struct Dimension : public nsStyleCoord::CalcValue {
nscoord ResolveLengthPercentage(nscoord aAvailable) const {
@ -703,8 +701,6 @@ struct nsStyleImageLayers {
}
};
struct Repeat;
friend struct Repeat;
struct Repeat {
mozilla::StyleImageLayerRepeat mXRepeat, mYRepeat;
@ -736,8 +732,6 @@ struct nsStyleImageLayers {
}
};
struct Layer;
friend struct Layer;
struct Layer {
typedef mozilla::StyleGeometryBox StyleGeometryBox;