This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
RenderElement::m_style should be a Ref.
<https://webkit.org/b/123401> Source/WebCore: Made RenderElement::m_style a Ref. This codifies the fact that it can never be null after construction. Removed a couple of unnecessary null checks that were exposed as compilation failures. Reviewed by Antti Koivisto. Source/WTF: Added a Ref::replace() so we can Indiana Jones the new style in RenderElement::setStyle() while keeping a handle on the old style for a while longer. Reviewed by Antti Koivisto. Canonical link: https://commits.webkit.org/141513@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Andreas Kling committed
Oct 28, 2013
1 parent 84875f7 commit 06b651c
Showing 5 changed files with 50 additions and 18 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions 11 Source/WTF/ChangeLog
13 changes: 13 additions & 0 deletions 13 Source/WebCore/ChangeLog