Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow

This commit is contained in:
Jonathan Watt 2014-10-30 09:34:10 +00:00
Родитель 6b502f624e
Коммит f47a832163
1 изменённых файлов: 0 добавлений и 18 удалений

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

@ -231,24 +231,6 @@ inline TemporaryRef<Path> MakePathForRoundedRect(const DrawTarget& aDrawTarget,
return builder->Finish();
}
inline void AppendRoundedRectToPath(PathBuilder* aPathBuilder,
const Rect& aRect,
const Size(& aCornerRadii)[4],
bool aDrawClockwise = true) {
RectCornerRadii radii(aCornerRadii[0], aCornerRadii[1],
aCornerRadii[2], aCornerRadii[3]);
AppendRoundedRectToPath(aPathBuilder, aRect, radii, aDrawClockwise);
}
inline TemporaryRef<Path> MakePathForRoundedRect(const DrawTarget& aDrawTarget,
const Rect& aRect,
const Size(& aCornerRadii)[4],
bool aDrawClockwise = true) {
RectCornerRadii radii(aCornerRadii[0], aCornerRadii[1],
aCornerRadii[2], aCornerRadii[3]);
return MakePathForRoundedRect(aDrawTarget, aRect, radii, aDrawClockwise);
}
/**
* Appends a path represending an ellipse to the path being built by
* aPathBuilder.