Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid doing 2 hash lookups if we override RenderBox's logical width /…
… height https://bugs.webkit.org/show_bug.cgi?id=79591 Reviewed by Antonio Gomes. Refactoring only. * rendering/RenderBox.cpp: (WebCore::RenderBox::clearOverrideSize): Instead of doing one hash lookup as part of hasOverride{Height|Width}, let's just directly call HashMap::remove that will do the lookup instead. Canonical link: https://commits.webkit.org/96793@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information