Chromium Code Reviews| Index: src/gpu/GrSurface.cpp |
| diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp |
| index 382550e41fc43f512600a844758002984ab76fbf..b9321f1a0eb60cc291f46a48233682bea3dfca2b 100644 |
| --- a/src/gpu/GrSurface.cpp |
| +++ b/src/gpu/GrSurface.cpp |
| @@ -94,14 +94,14 @@ bool GrSurfacePriv::AdjustWritePixelParams(int surfaceWidth, |
| bool GrSurface::writePixels(int left, int top, int width, int height, |
| GrPixelConfig config, const void* buffer, size_t rowBytes, |
| - uint32_t pixelOpsFlags) { |
| + uint32_t pixelOpsFlags) { |
|
bsalomon
2015/11/02 16:01:28
tiny nit, align with above
cblume
2015/11/03 02:10:22
Done.
|
| // go through context so that all necessary flushing occurs |
| GrContext* context = this->getContext(); |
| if (nullptr == context) { |
| return false; |
| } |
| - return context->writeSurfacePixels(this, left, top, width, height, config, buffer, rowBytes, |
| - pixelOpsFlags); |
| + return context->writeSurfacePixels(this, left, top, width, height, config, buffer, |
| + rowBytes, pixelOpsFlags); |
| } |
| bool GrSurface::readPixels(int left, int top, int width, int height, |