diff options
author | 2015-04-28 13:31:18 -0700 | |
---|---|---|
committer | 2015-04-28 13:31:18 -0700 | |
commit | 4eaf9cef5a76098f78efac30beb966ac833d32c2 (patch) | |
tree | 6e00047af770562183852a2cce07e18c0c978cf4 /src/gpu/effects/GrSimpleTextureEffect.cpp | |
parent | 5190a481f9e74f024352743a8499b0ad858a1310 (diff) |
create GrTestUtils.h, move some common functions into it
BUG=skia:
Review URL: https://codereview.chromium.org/1117443002
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrSimpleTextureEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp index abbd89cafa..2fe6dfe1a4 100644 --- a/src/gpu/effects/GrSimpleTextureEffect.cpp +++ b/src/gpu/effects/GrSimpleTextureEffect.cpp @@ -80,6 +80,6 @@ GrFragmentProcessor* GrSimpleTextureEffect::TestCreate(SkRandom* random, }; GrCoordSet coordSet = kCoordSets[random->nextULessThan(SK_ARRAY_COUNT(kCoordSets))]; - const SkMatrix& matrix = GrProcessorUnitTest::TestMatrix(random); + const SkMatrix& matrix = GrTest::TestMatrix(random); return GrSimpleTextureEffect::Create(textures[texIdx], matrix, coordSet); } |