To avoid reference cycles of RefPtr<Node>s, we want to remove unnecessary RefPtr<Node>s. The rationale is described in bug 94324. SearchInputType::m_resultsButton and SearchInputType::m_cancelButton do not need to be RefPtr<Node>s, because they are guaranteed to point to the shadow DOM tree of the SearchInputType node, which is guaranteed to exist in the subtree of the SearchInputType node.
Created attachment 159101 [details] Patch
Comment on attachment 159101 [details] Patch ok
Comment on attachment 159101 [details] Patch Clearing flags on attachment: 159101 Committed r125984: <http://trac.webkit.org/changeset/125984>
All reviewed patches have been landed. Closing bug.