DOMStorage: Replace raw operator new usage in Blink code.
This CL makes the blink::CachedStorageArea constructor public and removes the Create*() factory functions. The functions recently became identical, with the exception of the blink::CacheStorageArea::AreaType value passed to the constructor. This small refactoring removes one layer of indirection, as well as the use of the bare new operator in the factory functions. Change-Id: I0e6606f3021771c712a79878d681290c3862acc0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2038035 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Auto-Submit: Victor Costan <pwnall@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#739025}
Showing
Please register or sign in to comment