зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow
This commit is contained in:
Родитель
6b502f624e
Коммит
f47a832163
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче