Ben Clayton 619f9bd639 tint/transform: Fix ICE when combining polyfills
There's a reason the overload of `ctx.Replace()` that takes a pointer to the replacement is deprecated - it doesn't play well when used as part of another replacement.
Switch to using the callback overload of Replace() to fix bad transform output.

Bug: tint:1386647
Change-Id: I94292eeb65d24d7b2446b16b8b4ad13bdd27965a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111000
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-11-21 17:11:05 +00:00
..
2022-11-17 18:42:39 +00:00
2022-10-28 01:22:58 +00:00
2022-11-18 11:57:37 +00:00
2022-11-17 19:15:07 +00:00
2022-07-25 13:41:21 +00:00
2022-11-18 11:57:37 +00:00
2022-08-03 21:40:46 +00:00
2022-08-23 15:39:15 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-11-18 11:57:37 +00:00
2022-09-05 20:51:23 +00:00
2022-09-05 20:51:23 +00:00
2022-11-17 19:16:24 +00:00
2022-11-17 19:16:24 +00:00
2022-11-17 19:16:24 +00:00
2022-08-01 17:25:44 +00:00
2022-10-05 01:39:53 +00:00