Avoid const_cast in DOMDataStore.
It's never necessary to extract a non-const pointer from DOMDataStore::wrapper_map_, so it can be keyed by WeakMember<cont ScriptWrappable>, which avoids the need to const_cast. Change-Id: Ib1e25bf312cf09cf7c117a0485c1c30c338474c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884280 Commit-Queue: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Jeremy Roman <jbroman@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#710094}
Showing
Please register or sign in to comment