From 69cc7132778cabfb2ee4d6e221a67657b202828c Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Thu, 19 Dec 2013 19:46:54 -0800 Subject: [PATCH] Backed out changeset 4330724d9e05 (bug 940811) for breaking builds --- content/canvas/src/CanvasGradient.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/canvas/src/CanvasGradient.h b/content/canvas/src/CanvasGradient.h index 924d4c24dec..43a2dc23e05 100644 --- a/content/canvas/src/CanvasGradient.h +++ b/content/canvas/src/CanvasGradient.h @@ -12,7 +12,6 @@ #include "mozilla/dom/CanvasRenderingContext2D.h" #include "mozilla/gfx/2D.h" #include "nsWrapperCache.h" -#include "gfxGradientCache.h" namespace mozilla { namespace dom { @@ -42,10 +41,7 @@ public: return mStops; } - mStops = - gfx::gfxGradientCache::GetOrCreateGradientStops(aRT, - mRawStops, - gfx;:EXTEND_CLAMP); + mStops = aRT->CreateGradientStops(mRawStops.Elements(), mRawStops.Length()); return mStops; }