Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index c8713b63ad81697d7efcbb596b49e8d82f03d741..e2597dfad8b04cbcceeb6ec120565092df23ef8c 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -366,7 +366,7 @@ void GrClipMaskManager::mergeMask(GrTexture* dstMask, |
GrTextureDomainEffect::MakeTexelDomain(srcMask, srcBound), |
GrTextureDomainEffect::kDecal_WrapMode, |
GrTextureParams::kNone_FilterMode))->unref(); |
- fGpu->drawSimpleRect(SkRect::MakeFromIRect(dstBound), NULL); |
+ fGpu->drawSimpleRect(SkRect::Make(dstBound), NULL); |
} |
// get a texture to act as a temporary buffer for AA clip boolean operations |
@@ -722,7 +722,7 @@ bool GrClipMaskManager::createStencilClipMask(InitialState initialState, |
SET_RANDOM_COLOR |
// The view matrix is setup to do clip space -> stencil space translation, so |
// draw rect in clip space. |
- fGpu->drawSimpleRect(SkRect::MakeFromIRect(clipSpaceIBounds), NULL); |
+ fGpu->drawSimpleRect(SkRect::Make(clipSpaceIBounds), NULL); |
} |
} |
} |
@@ -961,7 +961,7 @@ GrTexture* GrClipMaskManager::createSoftwareClipMask(int32_t clipStackGenID, |
// but leave the pixels inside the geometry alone. For reverse difference we invert all |
// the pixels before clearing the ones outside the geometry. |
if (SkRegion::kReverseDifference_Op == op) { |
- SkRect temp = SkRect::MakeFromIRect(clipSpaceIBounds); |
+ SkRect temp = SkRect::Make(clipSpaceIBounds); |
// invert the entire scene |
helper.draw(temp, SkRegion::kXOR_Op, false, 0xFF); |
} |