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
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 1895da9..67c2a32 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -251,7 +251,7 @@
*/
int generate_lines_and_quads(const SkPath& path,
const SkMatrix& m,
- const GrIRect& devClipBounds,
+ const SkIRect& devClipBounds,
PtArray* lines,
PtArray* quads,
PtArray* conics,
@@ -260,8 +260,8 @@
SkPath::Iter iter(path, false);
int totalQuadCount = 0;
- GrRect bounds;
- GrIRect ibounds;
+ SkRect bounds;
+ SkIRect ibounds;
bool persp = m.hasPerspective();
@@ -986,7 +986,7 @@
GrDrawState* drawState = target->drawState();
int rtHeight = drawState->getRenderTarget()->height();
- GrIRect devClipBounds;
+ SkIRect devClipBounds;
target->getClip()->getConservativeBounds(drawState->getRenderTarget(), &devClipBounds);
SkMatrix viewM = drawState->getViewMatrix();