From fd03d4a829efe2d77a712fd991927c55f59a2ffe Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 17 Jul 2013 21:39:42 +0000 Subject: Replace all instances of GrRect with SkRect. And remove the typedef in GrRect.h. The same with GrIRect. R=robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/19449002 git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/gpu/GrOvalRenderer.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/gpu/GrOvalRenderer.h') diff --git a/include/gpu/GrOvalRenderer.h b/include/gpu/GrOvalRenderer.h index a9d41b40e0..08d3d3d935 100644 --- a/include/gpu/GrOvalRenderer.h +++ b/include/gpu/GrOvalRenderer.h @@ -5,18 +5,17 @@ * found in the LICENSE file. */ - #ifndef GrOvalRenderer_DEFINED #define GrOvalRenderer_DEFINED #include "GrContext.h" #include "GrPaint.h" #include "GrRefCnt.h" -#include "GrRect.h" class GrContext; class GrDrawTarget; class GrPaint; +struct SkRect; class SkStrokeRec; /* @@ -34,16 +33,16 @@ public: void reset(); bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA, - const GrRect& oval, const SkStrokeRec& stroke); + const SkRect& oval, const SkStrokeRec& stroke); bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA, const SkRRect& rrect, const SkStrokeRec& stroke); private: bool drawEllipse(GrDrawTarget* target, bool useAA, - const GrRect& ellipse, + const SkRect& ellipse, const SkStrokeRec& stroke); void drawCircle(GrDrawTarget* target, bool useAA, - const GrRect& circle, + const SkRect& circle, const SkStrokeRec& stroke); GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu); -- cgit v1.2.3