Document should store its RenderView in a RenderPtr.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Dec 2013 21:05:50 +0000 (21:05 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Dec 2013 21:05:50 +0000 (21:05 +0000)
commit6bdbf7273035a9f5a625887181c410999bae1b7d
tree9e8cd031a8c24c7b56c90f311d15775e1d626c80
parent03c8731694fb91e16b2eeadd601196fad417b398
Document should store its RenderView in a RenderPtr.
<https://webkit.org/b/126299>

Make Document::m_renderView a RenderPtr<RenderView> and remove one
manual destroy() call. Also removed the setRenderView() helper and
inlined it at the two call sites.

Reviewed by Antti Koivisto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h