Bug 1450134. Remove ToRelativeLayoutPoint(). r=kats
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 29 Mar 2018 17:57:00 -0400
changeset 410789 0090c5c5c069607502b6539239ad94255516b688
parent 410788 d7fa5324198f2cadc5377b17a7fc725496d6f505
child 410790 9ebf785a75d111a2af6ea24bfd0e310ef47d828c
push id61960
push userjmuizelaar@mozilla.com
push dateFri, 30 Mar 2018 13:26:57 +0000
treeherderautoland@9ebf785a75d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1450134
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1450134. Remove ToRelativeLayoutPoint(). r=kats It's completely unused.
gfx/layers/wr/StackingContextHelper.h
--- 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;
   }