RenderLayer: Store reflection renderer in a RenderPtr.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Dec 2013 20:57:32 +0000 (20:57 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Dec 2013 20:57:32 +0000 (20:57 +0000)
commitbdaaae7597b78307d8809893e3087c7790e19cb6
tree295351aa6adf4689279ac95c5dac80581f122b09
parenteddc2d199ebdfc4cdbe160963e96402704e08b21
RenderLayer: Store reflection renderer in a RenderPtr.
<https://webkit.org/b/126273>

Reviewed by Anders Carlsson.

* rendering/RenderLayer.h:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::calculateClipRects):

    Turn RenderLayer::m_reflection into a RenderPtr<RenderReplica>
    instead of a raw pointer.

* WebCore.xcodeproj/project.pbxproj:

    Add RenderPtr.h to private headers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderLayer.h