| Index: src/gpu/GrClipMaskManager.cpp
|
| diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
|
| index 704750efcaf4f8dd80434aa5a38badc5de94a78a..edd44540c5f1b38898a16e7b702eb2132c44e10e 100644
|
| --- a/src/gpu/GrClipMaskManager.cpp
|
| +++ b/src/gpu/GrClipMaskManager.cpp
|
| @@ -407,7 +407,7 @@ bool GrClipMaskManager::drawElement(GrTexture* target,
|
| element->getRect(),
|
| false);
|
| } else {
|
| - fGpu->drawSimpleRect(element->getRect(), NULL);
|
| + fGpu->drawSimpleRect(element->getRect());
|
| }
|
| return true;
|
| default: {
|
| @@ -481,7 +481,7 @@ void GrClipMaskManager::mergeMask(GrTexture* dstMask,
|
| GrTextureDomain::MakeTexelDomain(srcMask, srcBound),
|
| GrTextureDomain::kDecal_Mode,
|
| GrTextureParams::kNone_FilterMode))->unref();
|
| - fGpu->drawSimpleRect(SkRect::Make(dstBound), NULL);
|
| + fGpu->drawSimpleRect(SkRect::Make(dstBound));
|
| }
|
|
|
| // get a texture to act as a temporary buffer for AA clip boolean operations
|
| @@ -812,7 +812,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
|
| SET_RANDOM_COLOR
|
| if (Element::kRect_Type == element->getType()) {
|
| *drawState->stencil() = gDrawToStencil;
|
| - fGpu->drawSimpleRect(element->getRect(), NULL);
|
| + fGpu->drawSimpleRect(element->getRect());
|
| } else {
|
| if (!clipPath.isEmpty()) {
|
| if (canRenderDirectToStencil) {
|
| @@ -833,7 +833,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
|
| if (canDrawDirectToClip) {
|
| if (Element::kRect_Type == element->getType()) {
|
| SET_RANDOM_COLOR
|
| - fGpu->drawSimpleRect(element->getRect(), NULL);
|
| + fGpu->drawSimpleRect(element->getRect());
|
| } else {
|
| SET_RANDOM_COLOR
|
| pr->drawPath(clipPath, stroke, fGpu, false);
|
| @@ -842,7 +842,7 @@ bool GrClipMaskManager::createStencilClipMask(int32_t elementsGenID,
|
| SET_RANDOM_COLOR
|
| // The view matrix is setup to do clip space -> stencil space translation, so
|
| // draw rect in clip space.
|
| - fGpu->drawSimpleRect(SkRect::Make(clipSpaceIBounds), NULL);
|
| + fGpu->drawSimpleRect(SkRect::Make(clipSpaceIBounds));
|
| }
|
| }
|
| }
|
|
|