Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cr133][Devtools] custom implementation of
lit/static-html
was removed
Chromium change: https://source.chromium.org/chromium/_/chromium/devtools/devtools-frontend/+/8d94a72e2fad3764dd347ff6c755b5613caae03d commit 8d94a72e2fad3764dd347ff6c755b5613caae03d (origin/chromium/6934) Author: Benedikt Meurer <bmeurer@chromium.org> Date: Thu Jan 2 14:00:42 2025 +0100 [cleanup] Remove our custom implementation of `lit/static-html`. When we were using `litTagName` heavily, we rolled our own custom implementation of `lit/static-html`, which was optimized for the common case in our codebase. With the removal of `litTagName` we are left with only one place in the codebase where we use, and in this particular code path our optimization is useless (and even costs us more), since the `litTagName` changes in every loop iteration. Use the upstream `lit/static-html` module instead and remove our custom logic. This makes all regular calls to `html` faster in DevTools, since we no longer preprocess the template string looking for potential static parts. Drive-by-fix: Fix the build for `front_end/third_party/lit`. Bug: 370734442
- Loading branch information