commit | e7a959d8fe1bb62e39b71cd1600c0cacbe8ace3d | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Thu Mar 11 14:44:42 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Mar 11 20:38:00 2021 +0000 |
tree | 13930c8ba219c3aa8bbe8ae23dccb63bfc7064fe | |
parent | c737a8370956b528cb9cd399fc6241aba6f19eb0 [diff] [blame] |
Expand SkMessageBus to support different unique key types Bug: skia:11728 Change-Id: I16fb8250fa5c04ce3fe369a50d0c61a0bee46811 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383696 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/ops/GrTriangulatingPathRenderer.cpp b/src/gpu/ops/GrTriangulatingPathRenderer.cpp index 495f96d..f3b9ef5 100644 --- a/src/gpu/ops/GrTriangulatingPathRenderer.cpp +++ b/src/gpu/ops/GrTriangulatingPathRenderer.cpp
@@ -89,7 +89,7 @@ private: GrUniqueKeyInvalidatedMessage fMsg; - void changed() override { SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(fMsg); } + void changed() override { SkMessageBus<GrUniqueKeyInvalidatedMessage, uint32_t>::Post(fMsg); } }; class StaticVertexAllocator : public GrEagerVertexAllocator {