aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkTextureCompressor_LATC.cpp
diff options
context:
space:
mode:
authorGravatar herb <herb@google.com>2016-11-06 21:07:02 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-11-06 21:07:02 -0800
commitad512797c9405f78b080a1d24cd98f465b9879dd (patch)
treecd8fd44d95e9762713057555eb484759dac74029 /src/utils/SkTextureCompressor_LATC.cpp
parentf98b730af08df5b7e6989d2fc1099fbbb07f26d9 (diff)
Use perfect forwarding in createT of SkSmallAllocator.
This allows createT statements to be written in a clearer style. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2482683002 Review-Url: https://codereview.chromium.org/2482683002
Diffstat (limited to 'src/utils/SkTextureCompressor_LATC.cpp')
-rw-r--r--src/utils/SkTextureCompressor_LATC.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/SkTextureCompressor_LATC.cpp b/src/utils/SkTextureCompressor_LATC.cpp
index 50aaf0b275..d7cae4f37d 100644
--- a/src/utils/SkTextureCompressor_LATC.cpp
+++ b/src/utils/SkTextureCompressor_LATC.cpp
@@ -498,8 +498,7 @@ SkBlitter* CreateLATCBlitter(int width, int height, void* outputBuffer,
sk_bzero(outputBuffer, width * height / 2);
return allocator->createT<
- SkTCompressedAlphaBlitter<4, 8, CompressorLATC>, int, int, void* >
- (width, height, outputBuffer);
+ SkTCompressedAlphaBlitter<4, 8, CompressorLATC>>(width, height, outputBuffer);
#elif COMPRESS_LATC_SLOW
// TODO (krajcevski)
return nullptr;