Fix longtasks parameters to all be AtomicString
Currently, AddLongTaskTiming()'s last 3 parameters are String instead of AtomicString. However, the values are ultimately stored as AtomicString and the parameters passed are already AtomicString. Looking at the impl of AtomicString, it is not a String, which means that we have to convert the AtomicString to String and then back to AtomicString. This CL fixes this. Bug: 1141632 Change-Id: I72db0b0bc2ca96f2b831e8faf195c22acb4be0f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2555562Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#830549}
Showing
Please register or sign in to comment