ZequanWu wrote: We are observing test failure on our asan-built content_browertests in chromium since this change. Is it possible this commit causing miscompile or it exposes existing UB in the code? https://github.com/llvm/llvm-project/pull/138891