Remove unused static function that causes non-unified build to fail - trivial, no review, no bug
authorBenoit Jacob <bjacob@mozilla.com>
Mon, 23 Jun 2014 11:50:43 -0400
changeset 190145 d4213538b0f3d99ad8feb6eda3f0676f310e0e37
parent 190144 0b5965befb37f76132f6e6707f9d5b338bd3bbb8
child 190146 97067b95835d08323de4e383bcde296ce64300f9
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
milestone33.0a1
Remove unused static function that causes non-unified build to fail - trivial, no review, no bug
gfx/2d/FilterNodeSoftware.cpp
--- a/gfx/2d/FilterNodeSoftware.cpp
+++ b/gfx/2d/FilterNodeSoftware.cpp
@@ -2207,25 +2207,16 @@ ColorComponentAtPoint(const uint8_t *aDa
   const uint8_t &cll = ColorComponentAtPoint(aData, aStride, lx,     ly,     bpp, c);
   const uint8_t &cul = ColorComponentAtPoint(aData, aStride, lx + 1, ly,     bpp, c);
   const uint8_t &clu = ColorComponentAtPoint(aData, aStride, lx,     ly + 1, bpp, c);
   const uint8_t &cuu = ColorComponentAtPoint(aData, aStride, lx + 1, ly + 1, bpp, c);
   return ((cll * tlx + cul * tux) * tly +
           (clu * tlx + cuu * tux) * tuy + f * f / 2) / (f * f);
 }
 
-static inline uint32_t
-ColorAtPoint(const uint8_t *aData, int32_t aStride, Float x, Float y)
-{
-  return ColorComponentAtPoint(aData, aStride, x, y, 4, 0) |
-         (ColorComponentAtPoint(aData, aStride, x, y, 4, 1) << 8) |
-         (ColorComponentAtPoint(aData, aStride, x, y, 4, 2) << 16) |
-         (ColorComponentAtPoint(aData, aStride, x, y, 4, 3) << 24);
-}
-
 static int32_t
 ClampToNonZero(int32_t a)
 {
   return a * (a >= 0);
 }
 
 template<typename CoordType>
 static void