Bug 1450134. Remove ToRelativeLayoutPoint(). r=kats
It's completely unused.
--- a/gfx/layers/wr/StackingContextHelper.h
+++ b/gfx/layers/wr/StackingContextHelper.h
@@ -55,22 +55,16 @@ public:
// things that are pushed inside the stacking context need to be relative
// to the stacking context.
// We allow passing in a LayoutDeviceRect for convenience because in a lot of
// cases with WebRender display item generate the layout device space is the
// same as the layer space. (TODO: try to make this more explicit somehow).
// We also round the rectangle to ints after transforming since the output
// is the final destination rect.
wr::LayoutRect ToRelativeLayoutRect(const LayoutDeviceRect& aRect) const;
- // Same but for points
- wr::LayoutPoint ToRelativeLayoutPoint(const LayoutDevicePoint& aPoint) const
- {
- return wr::ToLayoutPoint(aPoint);
- }
-
// Export the inherited scale
gfx::Size GetInheritedScale() const { return mScale; }
const gfx::Matrix& GetInheritedTransform() const
{
return mInheritedTransform;
}