createMathMLOperator() should return RenderPtr.
<https://webkit.org/b/126622>

Reviewed by Antti Koivisto.

* rendering/mathml/RenderMathMLFenced.h:
* rendering/mathml/RenderMathMLFenced.cpp:
(WebCore::RenderMathMLFenced::createMathMLOperator):

    Make this return a RenderPtr<RenderMathMLOperator>.

(WebCore::RenderMathMLFenced::makeFences):
(WebCore::RenderMathMLFenced::addChild):

    Updated for the new createMathMLOperator() signature.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: Make roleValue() return DescriptionListRole for <dl> elements
https://bugs.webkit.org/show_bug.cgi?id=126579

Reviewed by Chris Fleizach.

Implement AccessibilityList::roleValue() so it will return
ListRole or DescriptionListRole depending on the type of list.

No new tests needed, as no new functionality was added and ports
should still be exposing the right role for <dl> elements

* accessibility/AccessibilityList.cpp:
(WebCore::AccessibilityList::roleValue): Implemented.
* accessibility/AccessibilityList.h:

* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(atkRole): Removed extra checks for objects with ListRole role.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderMathMLRow::createAnonymousWithParentRenderer() should return RenderPtr.
<https://webkit.org/b/126631>

Reviewed by Antti Koivisto.

* rendering/mathml/RenderMathMLRow.h:
* rendering/mathml/RenderMathMLRow.cpp:
(WebCore::RenderMathMLRow::createAnonymousWithParentRenderer):

    Tweak to return RenderPtr<RenderMathMLRow> and removed comment(!)
    about how this should return a smart pointer. Also take the
    parent renderer as a RenderMathMLRoot& instead of a RenderObject*
    since that's all we ever pass.

* rendering/mathml/RenderMathMLRoot.cpp:
(WebCore::RenderMathMLRoot::addChild):

    Updated for new createAnonymousWithParentRenderer() signature.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161493 268f45cc-cd09-0410-ab3c-d52691b4dbfc