Bug 1450134. Remove ToRelativeLayoutPoint(). r=kats
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 29 Mar 2018 17:57:00 -0400
changeset 410774 0090c5c5c069607502b6539239ad94255516b688
parent 410773 d7fa5324198f2cadc5377b17a7fc725496d6f505
child 410775 9ebf785a75d111a2af6ea24bfd0e310ef47d828c
push id33739
push usernbeleuzu@mozilla.com
push dateFri, 30 Mar 2018 21:47:45 +0000
treeherdermozilla-central@10c662d8416e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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.
--- 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;