Index: src/gpu/GrReducedClip.cpp |
diff --git a/src/gpu/GrReducedClip.cpp b/src/gpu/GrReducedClip.cpp |
index 2b6583e3e328f2a5454620a3c2ae68b3a992c7de..a5f4519ea7d7eaca4961bdee5d78cefcf7d68423 100644 |
--- a/src/gpu/GrReducedClip.cpp |
+++ b/src/gpu/GrReducedClip.cpp |
@@ -51,7 +51,7 @@ void ReduceClipStack(const SkClipStack& stack, |
const SkIRect* bounds = &queryBounds; |
- SkRect scalarQueryBounds = SkRect::MakeFromIRect(queryBounds); |
+ SkRect scalarQueryBounds = SkRect::Make(queryBounds); |
if (iior) { |
SkASSERT(SkClipStack::kNormal_BoundsType == stackBoundsType); |
@@ -67,7 +67,7 @@ void ReduceClipStack(const SkClipStack& stack, |
} else if (isectRect.intersect(stackBounds, scalarQueryBounds)) { |
if (NULL != tighterBounds) { |
isectRect.roundOut(tighterBounds); |
- SkRect scalarTighterBounds = SkRect::MakeFromIRect(*tighterBounds); |
+ SkRect scalarTighterBounds = SkRect::Make(*tighterBounds); |
if (scalarTighterBounds == isectRect) { |
// the round-out didn't add any area outside the clip rect. |
*requiresAA = false; |
@@ -119,7 +119,7 @@ void ReduceClipStack(const SkClipStack& stack, |
} |
} |
- SkRect scalarBounds = SkRect::MakeFromIRect(*bounds); |
+ SkRect scalarBounds = SkRect::Make(*bounds); |
// Now that we have determined the bounds to use and filtered out the trivial cases, call the |
// helper that actually walks the stack. |