diff options
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index 82821f3ce9..0c2edfba43 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -17,6 +17,7 @@ #include "GrRenderTargetContextPriv.h" #include "GrResourceProvider.h" #include "GrQuad.h" +#include "SkPointPriv.h" #include "effects/GrSimpleTextureEffect.h" #include "ops/GrSimpleMeshDrawOpHelper.h" @@ -134,7 +135,7 @@ private: // Setup positions SkPoint* position = (SkPoint*) vertices; - position->setRectTriStrip(fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, + SkPointPriv::SetRectTriStrip(position, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, vertexStride); // Setup vertex colors |