<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[171477] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/171477">171477</a></dd>
<dt>Author</dt> <dd>mmaxfield@apple.com</dd>
<dt>Date</dt> <dd>2014-07-23 07:57:15 -0700 (Wed, 23 Jul 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Migrate accessibility/ to using nullptr instead of 0
https://bugs.webkit.org/show_bug.cgi?id=135185
Reviewed by Simon Fraser.
No new tests because there is no behavior change.
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::focusedImageMapUIElement):
(WebCore::AXObjectCache::focusedUIElementForPage):
(WebCore::AXObjectCache::get):
(WebCore::AXObjectCache::getOrCreate):
(WebCore::AXObjectCache::rootObject):
(WebCore::AXObjectCache::rootObjectForFrame):
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::focusedUIElementForPage):
(WebCore::AXObjectCache::get):
(WebCore::AXObjectCache::getOrCreate):
(WebCore::AXObjectCache::rootObject):
(WebCore::AXObjectCache::rootObjectForFrame):
(WebCore::AXObjectCache::rootAXEditableElement):
* accessibility/AccessibilityARIAGridRow.cpp:
(WebCore::AccessibilityARIAGridRow::disclosedByRow):
* accessibility/AccessibilityImageMapLink.cpp:
(WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
(WebCore::AccessibilityImageMapLink::parentObject):
* accessibility/AccessibilityListBox.cpp:
(WebCore::AccessibilityListBox::listBoxOptionAccessibilityObject):
(WebCore::AccessibilityListBox::elementAccessibilityHitTest):
* accessibility/AccessibilityListBoxOption.cpp:
(WebCore::AccessibilityListBoxOption::AccessibilityListBoxOption):
(WebCore::AccessibilityListBoxOption::parentObject):
(WebCore::AccessibilityListBoxOption::listBoxOptionParentNode):
* accessibility/AccessibilityMenuListPopup.cpp:
(WebCore::AccessibilityMenuListPopup::menuListOptionAccessibilityObject):
* accessibility/AccessibilityMockObject.cpp:
(WebCore::AccessibilityMockObject::AccessibilityMockObject):
* accessibility/AccessibilityMockObject.h:
* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::detach):
(WebCore::AccessibilityNodeObject::firstChild):
(WebCore::AccessibilityNodeObject::lastChild):
(WebCore::AccessibilityNodeObject::previousSibling):
(WebCore::AccessibilityNodeObject::nextSibling):
(WebCore::AccessibilityNodeObject::parentObject):
(WebCore::AccessibilityNodeObject::document):
(WebCore::AccessibilityNodeObject::anchorElement):
(WebCore::nativeActionElement):
(WebCore::AccessibilityNodeObject::actionElement):
(WebCore::AccessibilityNodeObject::mouseButtonListener):
(WebCore::AccessibilityNodeObject::labelForElement):
(WebCore::AccessibilityNodeObject::menuItemElementForMenu):
(WebCore::AccessibilityNodeObject::menuButtonForMenu):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::AccessibilityObject):
(WebCore::AccessibilityObject::detach):
(WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
(WebCore::AccessibilityObject::findMatchingObjects):
(WebCore::renderListItemContainerForNode):
(WebCore::AccessibilityObject::accessibilityObjectForPosition):
(WebCore::AccessibilityObject::document):
(WebCore::AccessibilityObject::page):
(WebCore::AccessibilityObject::documentFrameView):
(WebCore::AccessibilityObject::anchorElementForNode):
(WebCore::AccessibilityObject::headingElementForNode):
(WebCore::AccessibilityObject::firstAnonymousBlockChild):
(WebCore::AccessibilityObject::element):
(WebCore::AccessibilityObject::focusedUIElement):
(WebCore::AccessibilityObject::scrollToMakeVisibleWithSubFocus):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::node):
(WebCore::AccessibilityObject::renderer):
(WebCore::AccessibilityObject::selectedRadioButton):
(WebCore::AccessibilityObject::selectedTabItem):
(WebCore::AccessibilityObject::accessibilityHitTest):
(WebCore::AccessibilityObject::firstChild):
(WebCore::AccessibilityObject::lastChild):
(WebCore::AccessibilityObject::previousSibling):
(WebCore::AccessibilityObject::nextSibling):
(WebCore::AccessibilityObject::parentObjectIfExists):
(WebCore::AccessibilityObject::observableObject):
(WebCore::AccessibilityObject::titleUIElement):
(WebCore::AccessibilityObject::correspondingLabelForControlElement):
(WebCore::AccessibilityObject::correspondingControlForLabelElement):
(WebCore::AccessibilityObject::scrollBar):
(WebCore::AccessibilityObject::anchorElement):
(WebCore::AccessibilityObject::actionElement):
(WebCore::AccessibilityObject::widget):
(WebCore::AccessibilityObject::widgetForAttachmentView):
(WebCore::AccessibilityObject::activeDescendant):
(WebCore::AccessibilityObject::mathRadicandObject):
(WebCore::AccessibilityObject::mathRootIndexObject):
(WebCore::AccessibilityObject::mathUnderObject):
(WebCore::AccessibilityObject::mathOverObject):
(WebCore::AccessibilityObject::mathNumeratorObject):
(WebCore::AccessibilityObject::mathDenominatorObject):
(WebCore::AccessibilityObject::mathBaseObject):
(WebCore::AccessibilityObject::mathSubscriptObject):
(WebCore::AccessibilityObject::mathSuperscriptObject):
(WebCore::AccessibilityObject::getScrollableAreaIfScrollable):
* accessibility/AccessibilityProgressIndicator.cpp:
(WebCore::AccessibilityProgressIndicator::progressElement):
(WebCore::AccessibilityProgressIndicator::meterElement):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::detach):
(WebCore::AccessibilityRenderObject::renderBoxModelObject):
(WebCore::AccessibilityRenderObject::firstChild):
(WebCore::AccessibilityRenderObject::lastChild):
(WebCore::startOfContinuations):
(WebCore::childBeforeConsideringContinuations):
(WebCore::AccessibilityRenderObject::previousSibling):
(WebCore::AccessibilityRenderObject::nextSibling):
(WebCore::nextContinuation):
(WebCore::AccessibilityRenderObject::renderParentObject):
(WebCore::AccessibilityRenderObject::parentObject):
(WebCore::AccessibilityRenderObject::anchorElement):
(WebCore::AccessibilityRenderObject::textUnderElement):
(WebCore::AccessibilityRenderObject::node):
(WebCore::AccessibilityRenderObject::labelElementContainer):
(WebCore::AccessibilityRenderObject::internalLinkElement):
(WebCore::AccessibilityRenderObject::titleUIElement):
(WebCore::AccessibilityRenderObject::setFocused):
(WebCore::AccessibilityRenderObject::topRenderer):
(WebCore::AccessibilityRenderObject::document):
(WebCore::AccessibilityRenderObject::widget):
(WebCore::AccessibilityRenderObject::accessibilityParentForImageMap):
(WebCore::AccessibilityRenderObject::documentFrameView):
(WebCore::AccessibilityRenderObject::widgetForAttachmentView):
(WebCore::AccessibilityRenderObject::rootEditableElementForPosition):
(WebCore::AccessibilityRenderObject::visiblePositionForPoint):
(WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest):
(WebCore::AccessibilityRenderObject::remoteSVGElementHitTest):
(WebCore::AccessibilityRenderObject::accessibilityHitTest):
(WebCore::AccessibilityRenderObject::correspondingControlForLabelElement):
(WebCore::AccessibilityRenderObject::correspondingLabelForControlElement):
(WebCore::AccessibilityRenderObject::observableObject):
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
(WebCore::AccessibilityRenderObject::detachRemoteSVGRoot):
(WebCore::AccessibilityRenderObject::addHiddenChildren):
(WebCore::AccessibilityRenderObject::setAccessibleName):
(WebCore::AccessibilityRenderObject::getScrollableAreaIfScrollable):
(WebCore::AccessibilityRenderObject::mathRadicandObject):
(WebCore::AccessibilityRenderObject::mathRootIndexObject):
(WebCore::AccessibilityRenderObject::mathNumeratorObject):
(WebCore::AccessibilityRenderObject::mathDenominatorObject):
(WebCore::AccessibilityRenderObject::mathUnderObject):
(WebCore::AccessibilityRenderObject::mathOverObject):
(WebCore::AccessibilityRenderObject::mathBaseObject):
(WebCore::AccessibilityRenderObject::mathSubscriptObject):
(WebCore::AccessibilityRenderObject::mathSuperscriptObject):
* accessibility/AccessibilitySVGRoot.cpp:
(WebCore::AccessibilitySVGRoot::AccessibilitySVGRoot):
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::detach):
(WebCore::AccessibilityScrollView::scrollBar):
(WebCore::AccessibilityScrollView::updateScrollbars):
(WebCore::AccessibilityScrollView::addChildScrollbar):
(WebCore::AccessibilityScrollView::clearChildren):
(WebCore::AccessibilityScrollView::webAreaObject):
(WebCore::AccessibilityScrollView::accessibilityHitTest):
(WebCore::AccessibilityScrollView::documentFrameView):
(WebCore::AccessibilityScrollView::parentObject):
(WebCore::AccessibilityScrollView::parentObjectIfExists):
* accessibility/AccessibilityScrollbar.cpp:
(WebCore::AccessibilityScrollbar::document):
* accessibility/AccessibilitySpinButton.cpp:
(WebCore::AccessibilitySpinButton::AccessibilitySpinButton):
* accessibility/AccessibilityTable.cpp:
(WebCore::AccessibilityTable::AccessibilityTable):
(WebCore::AccessibilityTable::clearChildren):
(WebCore::AccessibilityTable::cellForColumnAndRow):
* accessibility/AccessibilityTableCell.cpp:
(WebCore::AccessibilityTableCell::parentTable):
(WebCore::AccessibilityTableCell::titleUIElement):
* accessibility/AccessibilityTableColumn.cpp:
(WebCore::AccessibilityTableColumn::headerObject):
(WebCore::AccessibilityTableColumn::headerObjectForSection):
* accessibility/AccessibilityTableRow.cpp:
(WebCore::AccessibilityTableRow::parentTable):
(WebCore::AccessibilityTableRow::headerObject):
* accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::detachWrapper):
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper detach]):
(-[WebAccessibilityObjectWrapper tableCellParent]):
(-[WebAccessibilityObjectWrapper tableParent]):
(-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
(-[WebAccessibilityObjectWrapper convertRectToScreenSpace:]):
(rendererForView):
(-[WebAccessibilityObjectWrapper _convertToDOMRange:]):
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::detachWrapper):
* accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::AccessibilityObject::detachFromParent):
(WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
* accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
(-[WebAccessibilityObjectWrapperBase detach]):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(CreateCGColorIfDifferent):
(-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
(rendererForView):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
* accessibility/win/AccessibilityObjectWrapperWin.h:
(WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAXObjectCachecpp">trunk/Source/WebCore/accessibility/AXObjectCache.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAXObjectCacheh">trunk/Source/WebCore/accessibility/AXObjectCache.h</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityARIAGridRowcpp">trunk/Source/WebCore/accessibility/AccessibilityARIAGridRow.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityImageMapLinkcpp">trunk/Source/WebCore/accessibility/AccessibilityImageMapLink.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityListBoxcpp">trunk/Source/WebCore/accessibility/AccessibilityListBox.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityListBoxOptioncpp">trunk/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityMenuListPopupcpp">trunk/Source/WebCore/accessibility/AccessibilityMenuListPopup.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityMockObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityMockObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityMockObjecth">trunk/Source/WebCore/accessibility/AccessibilityMockObject.h</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityNodeObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityObjecth">trunk/Source/WebCore/accessibility/AccessibilityObject.h</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityProgressIndicatorcpp">trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilitySVGRootcpp">trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityScrollViewcpp">trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityScrollbarcpp">trunk/Source/WebCore/accessibility/AccessibilityScrollbar.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilitySpinButtoncpp">trunk/Source/WebCore/accessibility/AccessibilitySpinButton.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTablecpp">trunk/Source/WebCore/accessibility/AccessibilityTable.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTableCellcpp">trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTableColumncpp">trunk/Source/WebCore/accessibility/AccessibilityTableColumn.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTableRowcpp">trunk/Source/WebCore/accessibility/AccessibilityTableRow.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityiosAXObjectCacheIOSmm">trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityiosWebAccessibilityObjectWrapperIOSmm">trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm">trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacAccessibilityObjectMacmm">trunk/Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperBasemm">trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperMacmm">trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitywinAccessibilityObjectWrapperWinh">trunk/Source/WebCore/accessibility/win/AccessibilityObjectWrapperWin.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/ChangeLog        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -1,3 +1,210 @@
</span><ins>+2014-07-23 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Migrate accessibility/ to using nullptr instead of 0
+ https://bugs.webkit.org/show_bug.cgi?id=135185
+
+ Reviewed by Simon Fraser.
+
+ No new tests because there is no behavior change.
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::focusedImageMapUIElement):
+ (WebCore::AXObjectCache::focusedUIElementForPage):
+ (WebCore::AXObjectCache::get):
+ (WebCore::AXObjectCache::getOrCreate):
+ (WebCore::AXObjectCache::rootObject):
+ (WebCore::AXObjectCache::rootObjectForFrame):
+ * accessibility/AXObjectCache.h:
+ (WebCore::AXObjectCache::focusedUIElementForPage):
+ (WebCore::AXObjectCache::get):
+ (WebCore::AXObjectCache::getOrCreate):
+ (WebCore::AXObjectCache::rootObject):
+ (WebCore::AXObjectCache::rootObjectForFrame):
+ (WebCore::AXObjectCache::rootAXEditableElement):
+ * accessibility/AccessibilityARIAGridRow.cpp:
+ (WebCore::AccessibilityARIAGridRow::disclosedByRow):
+ * accessibility/AccessibilityImageMapLink.cpp:
+ (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
+ (WebCore::AccessibilityImageMapLink::parentObject):
+ * accessibility/AccessibilityListBox.cpp:
+ (WebCore::AccessibilityListBox::listBoxOptionAccessibilityObject):
+ (WebCore::AccessibilityListBox::elementAccessibilityHitTest):
+ * accessibility/AccessibilityListBoxOption.cpp:
+ (WebCore::AccessibilityListBoxOption::AccessibilityListBoxOption):
+ (WebCore::AccessibilityListBoxOption::parentObject):
+ (WebCore::AccessibilityListBoxOption::listBoxOptionParentNode):
+ * accessibility/AccessibilityMenuListPopup.cpp:
+ (WebCore::AccessibilityMenuListPopup::menuListOptionAccessibilityObject):
+ * accessibility/AccessibilityMockObject.cpp:
+ (WebCore::AccessibilityMockObject::AccessibilityMockObject):
+ * accessibility/AccessibilityMockObject.h:
+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::detach):
+ (WebCore::AccessibilityNodeObject::firstChild):
+ (WebCore::AccessibilityNodeObject::lastChild):
+ (WebCore::AccessibilityNodeObject::previousSibling):
+ (WebCore::AccessibilityNodeObject::nextSibling):
+ (WebCore::AccessibilityNodeObject::parentObject):
+ (WebCore::AccessibilityNodeObject::document):
+ (WebCore::AccessibilityNodeObject::anchorElement):
+ (WebCore::nativeActionElement):
+ (WebCore::AccessibilityNodeObject::actionElement):
+ (WebCore::AccessibilityNodeObject::mouseButtonListener):
+ (WebCore::AccessibilityNodeObject::labelForElement):
+ (WebCore::AccessibilityNodeObject::menuItemElementForMenu):
+ (WebCore::AccessibilityNodeObject::menuButtonForMenu):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::AccessibilityObject):
+ (WebCore::AccessibilityObject::detach):
+ (WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
+ (WebCore::AccessibilityObject::findMatchingObjects):
+ (WebCore::renderListItemContainerForNode):
+ (WebCore::AccessibilityObject::accessibilityObjectForPosition):
+ (WebCore::AccessibilityObject::document):
+ (WebCore::AccessibilityObject::page):
+ (WebCore::AccessibilityObject::documentFrameView):
+ (WebCore::AccessibilityObject::anchorElementForNode):
+ (WebCore::AccessibilityObject::headingElementForNode):
+ (WebCore::AccessibilityObject::firstAnonymousBlockChild):
+ (WebCore::AccessibilityObject::element):
+ (WebCore::AccessibilityObject::focusedUIElement):
+ (WebCore::AccessibilityObject::scrollToMakeVisibleWithSubFocus):
+ * accessibility/AccessibilityObject.h:
+ (WebCore::AccessibilityObject::node):
+ (WebCore::AccessibilityObject::renderer):
+ (WebCore::AccessibilityObject::selectedRadioButton):
+ (WebCore::AccessibilityObject::selectedTabItem):
+ (WebCore::AccessibilityObject::accessibilityHitTest):
+ (WebCore::AccessibilityObject::firstChild):
+ (WebCore::AccessibilityObject::lastChild):
+ (WebCore::AccessibilityObject::previousSibling):
+ (WebCore::AccessibilityObject::nextSibling):
+ (WebCore::AccessibilityObject::parentObjectIfExists):
+ (WebCore::AccessibilityObject::observableObject):
+ (WebCore::AccessibilityObject::titleUIElement):
+ (WebCore::AccessibilityObject::correspondingLabelForControlElement):
+ (WebCore::AccessibilityObject::correspondingControlForLabelElement):
+ (WebCore::AccessibilityObject::scrollBar):
+ (WebCore::AccessibilityObject::anchorElement):
+ (WebCore::AccessibilityObject::actionElement):
+ (WebCore::AccessibilityObject::widget):
+ (WebCore::AccessibilityObject::widgetForAttachmentView):
+ (WebCore::AccessibilityObject::activeDescendant):
+ (WebCore::AccessibilityObject::mathRadicandObject):
+ (WebCore::AccessibilityObject::mathRootIndexObject):
+ (WebCore::AccessibilityObject::mathUnderObject):
+ (WebCore::AccessibilityObject::mathOverObject):
+ (WebCore::AccessibilityObject::mathNumeratorObject):
+ (WebCore::AccessibilityObject::mathDenominatorObject):
+ (WebCore::AccessibilityObject::mathBaseObject):
+ (WebCore::AccessibilityObject::mathSubscriptObject):
+ (WebCore::AccessibilityObject::mathSuperscriptObject):
+ (WebCore::AccessibilityObject::getScrollableAreaIfScrollable):
+ * accessibility/AccessibilityProgressIndicator.cpp:
+ (WebCore::AccessibilityProgressIndicator::progressElement):
+ (WebCore::AccessibilityProgressIndicator::meterElement):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::detach):
+ (WebCore::AccessibilityRenderObject::renderBoxModelObject):
+ (WebCore::AccessibilityRenderObject::firstChild):
+ (WebCore::AccessibilityRenderObject::lastChild):
+ (WebCore::startOfContinuations):
+ (WebCore::childBeforeConsideringContinuations):
+ (WebCore::AccessibilityRenderObject::previousSibling):
+ (WebCore::AccessibilityRenderObject::nextSibling):
+ (WebCore::nextContinuation):
+ (WebCore::AccessibilityRenderObject::renderParentObject):
+ (WebCore::AccessibilityRenderObject::parentObject):
+ (WebCore::AccessibilityRenderObject::anchorElement):
+ (WebCore::AccessibilityRenderObject::textUnderElement):
+ (WebCore::AccessibilityRenderObject::node):
+ (WebCore::AccessibilityRenderObject::labelElementContainer):
+ (WebCore::AccessibilityRenderObject::internalLinkElement):
+ (WebCore::AccessibilityRenderObject::titleUIElement):
+ (WebCore::AccessibilityRenderObject::setFocused):
+ (WebCore::AccessibilityRenderObject::topRenderer):
+ (WebCore::AccessibilityRenderObject::document):
+ (WebCore::AccessibilityRenderObject::widget):
+ (WebCore::AccessibilityRenderObject::accessibilityParentForImageMap):
+ (WebCore::AccessibilityRenderObject::documentFrameView):
+ (WebCore::AccessibilityRenderObject::widgetForAttachmentView):
+ (WebCore::AccessibilityRenderObject::rootEditableElementForPosition):
+ (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
+ (WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest):
+ (WebCore::AccessibilityRenderObject::remoteSVGElementHitTest):
+ (WebCore::AccessibilityRenderObject::accessibilityHitTest):
+ (WebCore::AccessibilityRenderObject::correspondingControlForLabelElement):
+ (WebCore::AccessibilityRenderObject::correspondingLabelForControlElement):
+ (WebCore::AccessibilityRenderObject::observableObject):
+ (WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
+ (WebCore::AccessibilityRenderObject::detachRemoteSVGRoot):
+ (WebCore::AccessibilityRenderObject::addHiddenChildren):
+ (WebCore::AccessibilityRenderObject::setAccessibleName):
+ (WebCore::AccessibilityRenderObject::getScrollableAreaIfScrollable):
+ (WebCore::AccessibilityRenderObject::mathRadicandObject):
+ (WebCore::AccessibilityRenderObject::mathRootIndexObject):
+ (WebCore::AccessibilityRenderObject::mathNumeratorObject):
+ (WebCore::AccessibilityRenderObject::mathDenominatorObject):
+ (WebCore::AccessibilityRenderObject::mathUnderObject):
+ (WebCore::AccessibilityRenderObject::mathOverObject):
+ (WebCore::AccessibilityRenderObject::mathBaseObject):
+ (WebCore::AccessibilityRenderObject::mathSubscriptObject):
+ (WebCore::AccessibilityRenderObject::mathSuperscriptObject):
+ * accessibility/AccessibilitySVGRoot.cpp:
+ (WebCore::AccessibilitySVGRoot::AccessibilitySVGRoot):
+ * accessibility/AccessibilityScrollView.cpp:
+ (WebCore::AccessibilityScrollView::detach):
+ (WebCore::AccessibilityScrollView::scrollBar):
+ (WebCore::AccessibilityScrollView::updateScrollbars):
+ (WebCore::AccessibilityScrollView::addChildScrollbar):
+ (WebCore::AccessibilityScrollView::clearChildren):
+ (WebCore::AccessibilityScrollView::webAreaObject):
+ (WebCore::AccessibilityScrollView::accessibilityHitTest):
+ (WebCore::AccessibilityScrollView::documentFrameView):
+ (WebCore::AccessibilityScrollView::parentObject):
+ (WebCore::AccessibilityScrollView::parentObjectIfExists):
+ * accessibility/AccessibilityScrollbar.cpp:
+ (WebCore::AccessibilityScrollbar::document):
+ * accessibility/AccessibilitySpinButton.cpp:
+ (WebCore::AccessibilitySpinButton::AccessibilitySpinButton):
+ * accessibility/AccessibilityTable.cpp:
+ (WebCore::AccessibilityTable::AccessibilityTable):
+ (WebCore::AccessibilityTable::clearChildren):
+ (WebCore::AccessibilityTable::cellForColumnAndRow):
+ * accessibility/AccessibilityTableCell.cpp:
+ (WebCore::AccessibilityTableCell::parentTable):
+ (WebCore::AccessibilityTableCell::titleUIElement):
+ * accessibility/AccessibilityTableColumn.cpp:
+ (WebCore::AccessibilityTableColumn::headerObject):
+ (WebCore::AccessibilityTableColumn::headerObjectForSection):
+ * accessibility/AccessibilityTableRow.cpp:
+ (WebCore::AccessibilityTableRow::parentTable):
+ (WebCore::AccessibilityTableRow::headerObject):
+ * accessibility/ios/AXObjectCacheIOS.mm:
+ (WebCore::AXObjectCache::detachWrapper):
+ * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+ (-[WebAccessibilityObjectWrapper detach]):
+ (-[WebAccessibilityObjectWrapper tableCellParent]):
+ (-[WebAccessibilityObjectWrapper tableParent]):
+ (-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
+ (-[WebAccessibilityObjectWrapper convertRectToScreenSpace:]):
+ (rendererForView):
+ (-[WebAccessibilityObjectWrapper _convertToDOMRange:]):
+ * accessibility/mac/AXObjectCacheMac.mm:
+ (WebCore::AXObjectCache::detachWrapper):
+ * accessibility/mac/AccessibilityObjectMac.mm:
+ (WebCore::AccessibilityObject::detachFromParent):
+ (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
+ * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
+ (-[WebAccessibilityObjectWrapperBase detach]):
+ * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+ (CreateCGColorIfDifferent):
+ (-[WebAccessibilityObjectWrapper convertPointToScreenSpace:]):
+ (rendererForView):
+ (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
+ * accessibility/win/AccessibilityObjectWrapperWin.h:
+ (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
+
</ins><span class="cx"> 2014-07-23 Mihnea Ovidenie <mihnea@adobe.com>
</span><span class="cx">
</span><span class="cx"> ASSERTION FAILED: generatingElement() in WebCore::RenderNamedFlowFragment::regionOversetState
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAXObjectCachecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -145,15 +145,15 @@
</span><span class="cx"> // Find the corresponding accessibility object for the HTMLAreaElement. This should be
</span><span class="cx"> // in the list of children for its corresponding image.
</span><span class="cx"> if (!areaElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> HTMLImageElement* imageElement = areaElement->imageElement();
</span><span class="cx"> if (!imageElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* axRenderImage = areaElement->document().axObjectCache()->getOrCreate(imageElement);
</span><span class="cx"> if (!axRenderImage)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> for (const auto& child : axRenderImage->children()) {
</span><span class="cx"> if (!child->isImageMapLink())
</span><span class="lines">@@ -163,13 +163,13 @@
</span><span class="cx"> return child.get();
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AXObjectCache::focusedUIElementForPage(const Page* page)
</span><span class="cx"> {
</span><span class="cx"> if (!gAccessibilityEnabled)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // get the focused node in the page
</span><span class="cx"> Document* focusedDocument = page->focusController().focusedOrMainFrame().document();
</span><span class="lines">@@ -179,7 +179,7 @@
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* obj = focusedDocument->axObjectCache()->getOrCreate(focusedElement ? static_cast<Node*>(focusedElement) : focusedDocument);
</span><span class="cx"> if (!obj)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (obj->shouldFocusActiveDescendant()) {
</span><span class="cx"> if (AccessibilityObject* descendant = obj->activeDescendant())
</span><span class="lines">@@ -196,12 +196,12 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::get(Widget* widget)
</span><span class="cx"> {
</span><span class="cx"> if (!widget)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXID axID = m_widgetObjectMapping.get(widget);
</span><span class="cx"> ASSERT(!HashTraits<AXID>::isDeletedValue(axID));
</span><span class="cx"> if (!axID)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return m_objects.get(axID);
</span><span class="cx"> }
</span><span class="lines">@@ -209,12 +209,12 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::get(RenderObject* renderer)
</span><span class="cx"> {
</span><span class="cx"> if (!renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXID axID = m_renderObjectMapping.get(renderer);
</span><span class="cx"> ASSERT(!HashTraits<AXID>::isDeletedValue(axID));
</span><span class="cx"> if (!axID)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return m_objects.get(axID);
</span><span class="cx"> }
</span><span class="lines">@@ -222,7 +222,7 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::get(Node* node)
</span><span class="cx"> {
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXID renderID = node->renderer() ? m_renderObjectMapping.get(node->renderer()) : 0;
</span><span class="cx"> ASSERT(!HashTraits<AXID>::isDeletedValue(renderID));
</span><span class="lines">@@ -235,14 +235,14 @@
</span><span class="cx"> // rendered, but later something changes and it gets a renderer (like if it's
</span><span class="cx"> // reparented).
</span><span class="cx"> remove(nodeID);
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (renderID)
</span><span class="cx"> return m_objects.get(renderID);
</span><span class="cx">
</span><span class="cx"> if (!nodeID)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return m_objects.get(nodeID);
</span><span class="cx"> }
</span><span class="lines">@@ -335,12 +335,12 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::getOrCreate(Widget* widget)
</span><span class="cx"> {
</span><span class="cx"> if (!widget)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (AccessibilityObject* obj = get(widget))
</span><span class="cx"> return obj;
</span><span class="cx">
</span><del>- RefPtr<AccessibilityObject> newObj = 0;
</del><ins>+ RefPtr<AccessibilityObject> newObj = nullptr;
</ins><span class="cx"> if (widget->isFrameView())
</span><span class="cx"> newObj = AccessibilityScrollView::create(toScrollView(widget));
</span><span class="cx"> else if (widget->isScrollbar())
</span><span class="lines">@@ -352,7 +352,7 @@
</span><span class="cx"> // Catch the case if an (unsupported) widget type is used. Only FrameView and ScrollBar are supported now.
</span><span class="cx"> ASSERT(newObj);
</span><span class="cx"> if (!newObj)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> getAXID(newObj.get());
</span><span class="cx">
</span><span class="lines">@@ -366,7 +366,7 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::getOrCreate(Node* node)
</span><span class="cx"> {
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (AccessibilityObject* obj = get(node))
</span><span class="cx"> return obj;
</span><span class="lines">@@ -375,7 +375,7 @@
</span><span class="cx"> return getOrCreate(node->renderer());
</span><span class="cx">
</span><span class="cx"> if (!node->parentElement())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // It's only allowed to create an AccessibilityObject from a Node if it's in a canvas subtree.
</span><span class="cx"> // Or if it's a hidden element, but we still want to expose it because of other ARIA attributes.
</span><span class="lines">@@ -388,7 +388,7 @@
</span><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> if (!inCanvasSubtree && !isHidden && !insideMeterElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RefPtr<AccessibilityObject> newObj = createFromNode(node);
</span><span class="cx">
</span><span class="lines">@@ -413,7 +413,7 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::getOrCreate(RenderObject* renderer)
</span><span class="cx"> {
</span><span class="cx"> if (!renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (AccessibilityObject* obj = get(renderer))
</span><span class="cx"> return obj;
</span><span class="lines">@@ -441,7 +441,7 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::rootObject()
</span><span class="cx"> {
</span><span class="cx"> if (!gAccessibilityEnabled)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return getOrCreate(m_document.view());
</span><span class="cx"> }
</span><span class="lines">@@ -449,16 +449,16 @@
</span><span class="cx"> AccessibilityObject* AXObjectCache::rootObjectForFrame(Frame* frame)
</span><span class="cx"> {
</span><span class="cx"> if (!gAccessibilityEnabled)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (!frame)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return getOrCreate(frame->view());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AXObjectCache::getOrCreate(AccessibilityRole role)
</span><span class="cx"> {
</span><del>- RefPtr<AccessibilityObject> obj = 0;
</del><ins>+ RefPtr<AccessibilityObject> obj = nullptr;
</ins><span class="cx">
</span><span class="cx"> // will be filled in...
</span><span class="cx"> switch (role) {
</span><span class="lines">@@ -490,13 +490,13 @@
</span><span class="cx"> obj = AccessibilitySpinButtonPart::create();
</span><span class="cx"> break;
</span><span class="cx"> default:
</span><del>- obj = 0;
</del><ins>+ obj = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (obj)
</span><span class="cx"> getAXID(obj.get());
</span><span class="cx"> else
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> m_objects.set(obj->axObjectID(), obj);
</span><span class="cx"> obj->init();
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAXObjectCacheh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AXObjectCache.h (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AXObjectCache.h        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.h        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -272,22 +272,22 @@
</span><span class="cx"> inline void AXComputedObjectAttributeCache::setIgnored(AXID, AccessibilityObjectInclusion) { }
</span><span class="cx"> inline AXObjectCache::AXObjectCache(Document& document) : m_document(document), m_notificationPostTimer(this, (Timer<AXObjectCache>::TimerFiredFunction) nullptr) { }
</span><span class="cx"> inline AXObjectCache::~AXObjectCache() { }
</span><del>-inline AccessibilityObject* AXObjectCache::focusedUIElementForPage(const Page*) { return 0; }
-inline AccessibilityObject* AXObjectCache::get(RenderObject*) { return 0; }
-inline AccessibilityObject* AXObjectCache::get(Node*) { return 0; }
-inline AccessibilityObject* AXObjectCache::get(Widget*) { return 0; }
-inline AccessibilityObject* AXObjectCache::getOrCreate(AccessibilityRole) { return 0; }
-inline AccessibilityObject* AXObjectCache::getOrCreate(RenderObject*) { return 0; }
-inline AccessibilityObject* AXObjectCache::getOrCreate(Node*) { return 0; }
-inline AccessibilityObject* AXObjectCache::getOrCreate(Widget*) { return 0; }
-inline AccessibilityObject* AXObjectCache::rootObject() { return 0; }
-inline AccessibilityObject* AXObjectCache::rootObjectForFrame(Frame*) { return 0; }
-inline Element* AXObjectCache::rootAXEditableElement(Node*) { return 0; }
</del><ins>+inline AccessibilityObject* AXObjectCache::focusedUIElementForPage(const Page*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::get(RenderObject*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::get(Node*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::get(Widget*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::getOrCreate(AccessibilityRole) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::getOrCreate(RenderObject*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::getOrCreate(Node*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::getOrCreate(Widget*) { return nullptr; }
+inline AccessibilityObject* AXObjectCache::rootObject() { return nullptr; }
+inline AccessibilityObject* AXObjectCache::rootObjectForFrame(Frame*) { return nullptr; }
+inline Element* AXObjectCache::rootAXEditableElement(Node*) { return nullptr; }
</ins><span class="cx"> inline bool nodeHasRole(Node*, const String&) { return false; }
</span><span class="cx"> inline void AXObjectCache::startCachingComputedObjectAttributesUntilTreeMutates() { }
</span><span class="cx"> inline void AXObjectCache::stopCachingComputedObjectAttributes() { }
</span><span class="cx"> inline bool isNodeAriaVisible(Node*) { return true; }
</span><del>-inline const Element* AXObjectCache::rootAXEditableElement(const Node*) { return 0; }
</del><ins>+inline const Element* AXObjectCache::rootAXEditableElement(const Node*) { return nullptr; }
</ins><span class="cx"> inline void AXObjectCache::attachWrapper(AccessibilityObject*) { }
</span><span class="cx"> inline void AXObjectCache::checkedStateChanged(Node*) { }
</span><span class="cx"> inline void AXObjectCache::childrenChanged(RenderObject*, RenderObject*) { }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityARIAGridRowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityARIAGridRow.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityARIAGridRow.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityARIAGridRow.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -91,19 +91,19 @@
</span><span class="cx"> // that is aria-level subtract 1 from this row.
</span><span class="cx"> AccessibilityObject* parent = parentObjectUnignored();
</span><span class="cx"> if (!parent || !parent->isAccessibilityTable())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // If the level is 1 or less, than nothing discloses this row.
</span><span class="cx"> unsigned level = hierarchicalLevel();
</span><span class="cx"> if (level <= 1)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Search for the previous row that matches the correct level.
</span><span class="cx"> int index = rowIndex();
</span><span class="cx"> auto& allRows = toAccessibilityTable(parent)->rows();
</span><span class="cx"> int rowCount = allRows.size();
</span><span class="cx"> if (index >= rowCount)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> for (int k = index - 1; k >= 0; --k) {
</span><span class="cx"> AccessibilityObject* row = allRows[k].get();
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityImageMapLinkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityImageMapLink.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityImageMapLink.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityImageMapLink.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -40,8 +40,8 @@
</span><span class="cx"> using namespace HTMLNames;
</span><span class="cx">
</span><span class="cx"> AccessibilityImageMapLink::AccessibilityImageMapLink()
</span><del>- : m_areaElement(0)
- , m_mapElement(0)
</del><ins>+ : m_areaElement(nullptr)
+ , m_mapElement(nullptr)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> return m_parent;
</span><span class="cx">
</span><span class="cx"> if (!m_mapElement.get() || !m_mapElement->renderer())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return m_mapElement->document().axObjectCache()->getOrCreate(m_mapElement->renderer());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityListBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityListBox.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityListBox.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityListBox.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx"> {
</span><span class="cx"> // skip hr elements
</span><span class="cx"> if (!element || element->hasTagName(hrTag))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* listBoxObject = m_renderer->document().axObjectCache()->getOrCreate(ListBoxOptionRole);
</span><span class="cx"> toAccessibilityListBoxOption(listBoxObject)->setHTMLElement(element);
</span><span class="lines">@@ -149,15 +149,15 @@
</span><span class="cx"> // the internal HTMLSelectElement methods for returning a listbox option at a point
</span><span class="cx"> // ignore optgroup elements.
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* node = m_renderer->node();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> LayoutRect parentRect = boundingBoxRect();
</span><span class="cx">
</span><del>- AccessibilityObject* listBoxOption = 0;
</del><ins>+ AccessibilityObject* listBoxOption = nullptr;
</ins><span class="cx"> unsigned length = m_children.size();
</span><span class="cx"> for (unsigned i = 0; i < length; i++) {
</span><span class="cx"> LayoutRect rect = toRenderListBox(m_renderer)->itemBoundingBoxRect(parentRect.location(), i);
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityListBoxOptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> using namespace HTMLNames;
</span><span class="cx">
</span><span class="cx"> AccessibilityListBoxOption::AccessibilityListBoxOption()
</span><del>- : m_optionElement(0)
</del><ins>+ : m_optionElement(nullptr)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -174,7 +174,7 @@
</span><span class="cx"> {
</span><span class="cx"> HTMLSelectElement* parentNode = listBoxOptionParentNode();
</span><span class="cx"> if (!parentNode)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return m_optionElement->document().axObjectCache()->getOrCreate(parentNode);
</span><span class="cx"> }
</span><span class="lines">@@ -200,7 +200,7 @@
</span><span class="cx"> HTMLSelectElement* AccessibilityListBoxOption::listBoxOptionParentNode() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_optionElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (isHTMLOptionElement(m_optionElement))
</span><span class="cx"> return toHTMLOptionElement(m_optionElement)->ownerSelectElement();
</span><span class="lines">@@ -208,7 +208,7 @@
</span><span class="cx"> if (isHTMLOptGroupElement(m_optionElement))
</span><span class="cx"> return toHTMLOptGroupElement(m_optionElement)->ownerSelectElement();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> int AccessibilityListBoxOption::listBoxOptionIndex() const
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityMenuListPopupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityMenuListPopup.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityMenuListPopup.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityMenuListPopup.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx"> AccessibilityMenuListOption* AccessibilityMenuListPopup::menuListOptionAccessibilityObject(HTMLElement* element) const
</span><span class="cx"> {
</span><span class="cx"> if (!element || !isHTMLOptionElement(element) || !element->inRenderedDocument())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* object = document()->axObjectCache()->getOrCreate(MenuListOptionRole);
</span><span class="cx"> ASSERT_WITH_SECURITY_IMPLICATION(object->isMenuListOption());
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityMockObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityMockObject.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityMockObject.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityMockObject.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><span class="cx"> AccessibilityMockObject::AccessibilityMockObject()
</span><del>- : m_parent(0)
</del><ins>+ : m_parent(nullptr)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityMockObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityMockObject.h (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityMockObject.h        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityMockObject.h        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> AccessibilityObject* m_parent;
</span><span class="cx">
</span><span class="cx"> // Must be called when the parent object clears its children.
</span><del>- virtual void detachFromParent() override { m_parent = 0; }
</del><ins>+ virtual void detachFromParent() override { m_parent = nullptr; }
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> virtual bool isMockObject() const override { return true; }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityNodeObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -123,7 +123,7 @@
</span><span class="cx"> {
</span><span class="cx"> // AccessibilityObject calls clearChildren.
</span><span class="cx"> AccessibilityObject::detach(detachmentType, cache);
</span><del>- m_node = 0;
</del><ins>+ m_node = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void AccessibilityNodeObject::childrenChanged()
</span><span class="lines">@@ -170,12 +170,12 @@
</span><span class="cx"> AccessibilityObject* AccessibilityNodeObject::firstChild() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* firstChild = node()->firstChild();
</span><span class="cx">
</span><span class="cx"> if (!firstChild)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(firstChild);
</span><span class="cx"> }
</span><span class="lines">@@ -183,11 +183,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityNodeObject::lastChild() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* lastChild = node()->lastChild();
</span><span class="cx"> if (!lastChild)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(lastChild);
</span><span class="cx"> }
</span><span class="lines">@@ -195,11 +195,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityNodeObject::previousSibling() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* previousSibling = node()->previousSibling();
</span><span class="cx"> if (!previousSibling)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(previousSibling);
</span><span class="cx"> }
</span><span class="lines">@@ -207,11 +207,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityNodeObject::nextSibling() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* nextSibling = node()->nextSibling();
</span><span class="cx"> if (!nextSibling)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(nextSibling);
</span><span class="cx"> }
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityNodeObject::parentObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* parentObj = node()->parentNode();
</span><span class="cx"> if (!parentObj)
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> if (AXObjectCache* cache = axObjectCache())
</span><span class="cx"> return cache->getOrCreate(parentObj);
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> LayoutRect AccessibilityNodeObject::elementRect() const
</span><span class="lines">@@ -269,7 +269,7 @@
</span><span class="cx"> Document* AccessibilityNodeObject::document() const
</span><span class="cx"> {
</span><span class="cx"> if (!node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return &node()->document();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -961,7 +961,7 @@
</span><span class="cx"> {
</span><span class="cx"> Node* node = this->node();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = axObjectCache();
</span><span class="cx">
</span><span class="lines">@@ -972,7 +972,7 @@
</span><span class="cx"> return toElement(node);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static bool isNodeActionElement(Node* node)
</span><span class="lines">@@ -990,7 +990,7 @@
</span><span class="cx"> static Element* nativeActionElement(Node* start)
</span><span class="cx"> {
</span><span class="cx"> if (!start)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Do a deep-dive to see if any nodes should be used as the action element.
</span><span class="cx"> // We have to look at Nodes, since this method should only be called on objects that do not have children (like buttons).
</span><span class="lines">@@ -1003,14 +1003,14 @@
</span><span class="cx"> if (Element* subChild = nativeActionElement(child))
</span><span class="cx"> return subChild;
</span><span class="cx"> }
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> Element* AccessibilityNodeObject::actionElement() const
</span><span class="cx"> {
</span><span class="cx"> Node* node = this->node();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (isNodeActionElement(node))
</span><span class="cx"> return toElement(node);
</span><span class="lines">@@ -1045,7 +1045,7 @@
</span><span class="cx"> {
</span><span class="cx"> Node* node = this->node();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // check if our parent is a mouse button listener
</span><span class="cx"> // FIXME: Do the continuation search like anchorElement does
</span><span class="lines">@@ -1059,7 +1059,7 @@
</span><span class="cx"> return &element;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityNodeObject::isDescendantOfBarrenParent() const
</span><span class="lines">@@ -1165,7 +1165,7 @@
</span><span class="cx"> HTMLLabelElement* AccessibilityNodeObject::labelForElement(Element* element) const
</span><span class="cx"> {
</span><span class="cx"> if (!element->isHTMLElement() || !toHTMLElement(element)->isLabelable())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const AtomicString& id = element->getIdAttribute();
</span><span class="cx"> if (!id.isEmpty()) {
</span><span class="lines">@@ -1222,7 +1222,7 @@
</span><span class="cx"> Element* AccessibilityNodeObject::menuItemElementForMenu() const
</span><span class="cx"> {
</span><span class="cx"> if (ariaRoleAttribute() != MenuRole)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return siblingWithAriaRole("menuitem", node());
</span><span class="cx"> }
</span><span class="lines">@@ -1241,7 +1241,7 @@
</span><span class="cx"> if (menuItemAX && menuItemAX->isMenuButton())
</span><span class="cx"> return menuItemAX;
</span><span class="cx"> }
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityNodeObject::usesAltTagForTextComputation() const
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityObject.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityObject.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityObject.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx"> , m_role(UnknownRole)
</span><span class="cx"> , m_lastKnownIsIgnoredValue(DefaultBehavior)
</span><span class="cx"> #if PLATFORM(GTK) || (PLATFORM(EFL) && HAVE(ACCESSIBILITY))
</span><del>- , m_wrapper(0)
</del><ins>+ , m_wrapper(nullptr)
</ins><span class="cx"> #endif
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -104,7 +104,7 @@
</span><span class="cx"> clearChildren();
</span><span class="cx">
</span><span class="cx"> #if HAVE(ACCESSIBILITY)
</span><del>- setWrapper(0);
</del><ins>+ setWrapper(nullptr);
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -380,7 +380,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityObject::firstAccessibleObjectFromNode(const Node* node)
</span><span class="cx"> {
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = node->document().axObjectCache();
</span><span class="cx"> if (!cache)
</span><span class="lines">@@ -394,7 +394,7 @@
</span><span class="cx"> node = NodeTraversal::nextSkippingChildren(node);
</span><span class="cx">
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> accessibleObject = cache->getOrCreate(node->renderer());
</span><span class="cx"> }
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> // The first iteration of the outer loop will examine the children of the start object for matches. However, when
</span><span class="cx"> // iterating backwards, the start object children should not be considered, so the loop is skipped ahead. We make an
</span><span class="cx"> // exception when no start object was specified because we want to search everything regardless of search direction.
</span><del>- AccessibilityObject* previousObject = 0;
</del><ins>+ AccessibilityObject* previousObject = nullptr;
</ins><span class="cx"> if (!isForward && startObject != this) {
</span><span class="cx"> previousObject = startObject;
</span><span class="cx"> startObject = startObject->parentObjectUnignored();
</span><span class="lines">@@ -1070,7 +1070,7 @@
</span><span class="cx"> if (renderer && renderer->isListItem())
</span><span class="cx"> return toRenderListItem(renderer);
</span><span class="cx"> }
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns the text associated with a list marker if this node is contained within a list item.
</span><span class="lines">@@ -1326,11 +1326,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityObject::accessibilityObjectForPosition(const VisiblePosition& visiblePos) const
</span><span class="cx"> {
</span><span class="cx"> if (visiblePos.isNull())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* obj = visiblePos.deepEquivalent().deprecatedNode()->renderer();
</span><span class="cx"> if (!obj)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return obj->document().axObjectCache()->getOrCreate(obj);
</span><span class="cx"> }
</span><span class="lines">@@ -1454,7 +1454,7 @@
</span><span class="cx"> {
</span><span class="cx"> FrameView* frameView = documentFrameView();
</span><span class="cx"> if (!frameView)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return frameView->frame().document();
</span><span class="cx"> }
</span><span class="lines">@@ -1463,7 +1463,7 @@
</span><span class="cx"> {
</span><span class="cx"> Document* document = this->document();
</span><span class="cx"> if (!document)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return document->page();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1474,7 +1474,7 @@
</span><span class="cx"> object = object->parentObject();
</span><span class="cx">
</span><span class="cx"> if (!object)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return object->documentFrameView();
</span><span class="cx"> }
</span><span class="lines">@@ -1509,16 +1509,16 @@
</span><span class="cx"> {
</span><span class="cx"> RenderObject* obj = node->renderer();
</span><span class="cx"> if (!obj)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RefPtr<AccessibilityObject> axObj = obj->document().axObjectCache()->getOrCreate(obj);
</span><span class="cx"> Element* anchor = axObj->anchorElement();
</span><span class="cx"> if (!anchor)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* anchorRenderer = anchor->renderer();
</span><span class="cx"> if (!anchorRenderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return anchorRenderer->document().axObjectCache()->getOrCreate(anchorRenderer);
</span><span class="cx"> }
</span><span class="lines">@@ -1526,11 +1526,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityObject::headingElementForNode(Node* node)
</span><span class="cx"> {
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* renderObject = node->renderer();
</span><span class="cx"> if (!renderObject)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* axObject = renderObject->document().axObjectCache()->getOrCreate(renderObject);
</span><span class="cx"> for (; axObject && axObject->roleValue() != HeadingRole; axObject = axObject->parentObject()) { }
</span><span class="lines">@@ -1729,7 +1729,7 @@
</span><span class="cx"> if (child->renderer() && child->renderer()->isAnonymousBlock())
</span><span class="cx"> return child;
</span><span class="cx"> }
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> typedef HashMap<String, AccessibilityRole, CaseFoldingHash> ARIARoleMap;
</span><span class="lines">@@ -1876,7 +1876,7 @@
</span><span class="cx"> Node* node = this->node();
</span><span class="cx"> if (node && node->isElementNode())
</span><span class="cx"> return toElement(node);
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const AtomicString& AccessibilityObject::placeholderValue() const
</span><span class="lines">@@ -1964,11 +1964,11 @@
</span><span class="cx"> {
</span><span class="cx"> Document* doc = document();
</span><span class="cx"> if (!doc)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Page* page = doc->page();
</span><span class="cx"> if (!page)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return AXObjectCache::focusedUIElementForPage(page);
</span><span class="cx"> }
</span><span class="lines">@@ -2211,7 +2211,7 @@
</span><span class="cx"> // Search up the parent chain until we find the first one that's scrollable.
</span><span class="cx"> AccessibilityObject* scrollParent = parentObject();
</span><span class="cx"> ScrollableArea* scrollableArea;
</span><del>- for (scrollableArea = 0;
</del><ins>+ for (scrollableArea = nullptr;
</ins><span class="cx"> scrollParent && !(scrollableArea = scrollParent->getScrollableAreaIfScrollable());
</span><span class="cx"> scrollParent = scrollParent->parentObject()) { }
</span><span class="cx"> if (!scrollableArea)
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityObject.h (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityObject.h        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityObject.h        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -556,8 +556,8 @@
</span><span class="cx"> virtual bool canSetExpandedAttribute() const { return false; }
</span><span class="cx">
</span><span class="cx"> Element* element() const;
</span><del>- virtual Node* node() const { return 0; }
- virtual RenderObject* renderer() const { return 0; }
</del><ins>+ virtual Node* node() const { return nullptr; }
+ virtual RenderObject* renderer() const { return nullptr; }
</ins><span class="cx"> virtual bool accessibilityIsIgnored() const;
</span><span class="cx"> virtual AccessibilityObjectInclusion defaultObjectInclusion() const;
</span><span class="cx"> bool accessibilityIsIgnoredByDefault() const;
</span><span class="lines">@@ -571,8 +571,8 @@
</span><span class="cx"> virtual float maxValueForRange() const { return 0.0f; }
</span><span class="cx"> virtual float minValueForRange() const { return 0.0f; }
</span><span class="cx"> virtual float stepValueForRange() const { return 0.0f; }
</span><del>- virtual AccessibilityObject* selectedRadioButton() { return 0; }
- virtual AccessibilityObject* selectedTabItem() { return 0; }
</del><ins>+ virtual AccessibilityObject* selectedRadioButton() { return nullptr; }
+ virtual AccessibilityObject* selectedTabItem() { return nullptr; }
</ins><span class="cx"> virtual int layoutCount() const { return 0; }
</span><span class="cx"> virtual double estimatedLoadingProgress() const { return 0; }
</span><span class="cx"> static bool isARIAControl(AccessibilityRole);
</span><span class="lines">@@ -610,19 +610,19 @@
</span><span class="cx"> virtual void determineARIADropEffects(Vector<String>&) { }
</span><span class="cx">
</span><span class="cx"> // Called on the root AX object to return the deepest available element.
</span><del>- virtual AccessibilityObject* accessibilityHitTest(const IntPoint&) const { return 0; }
</del><ins>+ virtual AccessibilityObject* accessibilityHitTest(const IntPoint&) const { return nullptr; }
</ins><span class="cx"> // Called on the AX object after the render tree determines which is the right AccessibilityRenderObject.
</span><span class="cx"> virtual AccessibilityObject* elementAccessibilityHitTest(const IntPoint&) const;
</span><span class="cx">
</span><span class="cx"> virtual AccessibilityObject* focusedUIElement() const;
</span><span class="cx">
</span><del>- virtual AccessibilityObject* firstChild() const { return 0; }
- virtual AccessibilityObject* lastChild() const { return 0; }
- virtual AccessibilityObject* previousSibling() const { return 0; }
- virtual AccessibilityObject* nextSibling() const { return 0; }
</del><ins>+ virtual AccessibilityObject* firstChild() const { return nullptr; }
+ virtual AccessibilityObject* lastChild() const { return nullptr; }
+ virtual AccessibilityObject* previousSibling() const { return nullptr; }
+ virtual AccessibilityObject* nextSibling() const { return nullptr; }
</ins><span class="cx"> virtual AccessibilityObject* parentObject() const = 0;
</span><span class="cx"> virtual AccessibilityObject* parentObjectUnignored() const;
</span><del>- virtual AccessibilityObject* parentObjectIfExists() const { return 0; }
</del><ins>+ virtual AccessibilityObject* parentObjectIfExists() const { return nullptr; }
</ins><span class="cx"> static AccessibilityObject* firstAccessibleObjectFromNode(const Node*);
</span><span class="cx"> void findMatchingObjects(AccessibilitySearchCriteria*, AccessibilityChildrenVector&);
</span><span class="cx"> virtual bool isDescendantOfBarrenParent() const { return false; }
</span><span class="lines">@@ -632,13 +632,13 @@
</span><span class="cx"> PassRefPtr<Range> selectionRange() const;
</span><span class="cx"> String selectText(AccessibilitySelectTextCriteria*);
</span><span class="cx">
</span><del>- virtual AccessibilityObject* observableObject() const { return 0; }
</del><ins>+ virtual AccessibilityObject* observableObject() const { return nullptr; }
</ins><span class="cx"> virtual void linkedUIElements(AccessibilityChildrenVector&) const { }
</span><del>- virtual AccessibilityObject* titleUIElement() const { return 0; }
</del><ins>+ virtual AccessibilityObject* titleUIElement() const { return nullptr; }
</ins><span class="cx"> virtual bool exposesTitleUIElement() const { return true; }
</span><del>- virtual AccessibilityObject* correspondingLabelForControlElement() const { return 0; }
- virtual AccessibilityObject* correspondingControlForLabelElement() const { return 0; }
- virtual AccessibilityObject* scrollBar(AccessibilityOrientation) { return 0; }
</del><ins>+ virtual AccessibilityObject* correspondingLabelForControlElement() const { return nullptr; }
+ virtual AccessibilityObject* correspondingControlForLabelElement() const { return nullptr; }
+ virtual AccessibilityObject* scrollBar(AccessibilityOrientation) { return nullptr; }
</ins><span class="cx">
</span><span class="cx"> virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; }
</span><span class="cx"> virtual bool isPresentationalChildOfAriaRole() const { return false; }
</span><span class="lines">@@ -683,8 +683,8 @@
</span><span class="cx">
</span><span class="cx"> static AccessibilityObject* anchorElementForNode(Node*);
</span><span class="cx"> static AccessibilityObject* headingElementForNode(Node*);
</span><del>- virtual Element* anchorElement() const { return 0; }
- virtual Element* actionElement() const { return 0; }
</del><ins>+ virtual Element* anchorElement() const { return nullptr; }
+ virtual Element* actionElement() const { return nullptr; }
</ins><span class="cx"> virtual LayoutRect boundingBoxRect() const { return LayoutRect(); }
</span><span class="cx"> IntRect pixelSnappedBoundingBoxRect() const { return pixelSnappedIntRect(boundingBoxRect()); }
</span><span class="cx"> virtual LayoutRect elementRect() const = 0;
</span><span class="lines">@@ -706,8 +706,8 @@
</span><span class="cx"> virtual String selectedText() const { return String(); }
</span><span class="cx"> virtual const AtomicString& accessKey() const { return nullAtom; }
</span><span class="cx"> const String& actionVerb() const;
</span><del>- virtual Widget* widget() const { return 0; }
- virtual Widget* widgetForAttachmentView() const { return 0; }
</del><ins>+ virtual Widget* widget() const { return nullptr; }
+ virtual Widget* widgetForAttachmentView() const { return nullptr; }
</ins><span class="cx"> Page* page() const;
</span><span class="cx"> virtual Document* document() const;
</span><span class="cx"> virtual FrameView* documentFrameView() const;
</span><span class="lines">@@ -758,7 +758,7 @@
</span><span class="cx"> virtual void visibleChildren(AccessibilityChildrenVector&) { }
</span><span class="cx"> virtual void tabChildren(AccessibilityChildrenVector&) { }
</span><span class="cx"> virtual bool shouldFocusActiveDescendant() const { return false; }
</span><del>- virtual AccessibilityObject* activeDescendant() const { return 0; }
</del><ins>+ virtual AccessibilityObject* activeDescendant() const { return nullptr; }
</ins><span class="cx"> virtual void handleActiveDescendantChanged() { }
</span><span class="cx"> virtual void handleAriaExpandedChanged() { }
</span><span class="cx"> bool isDescendantOfObject(const AccessibilityObject*) const;
</span><span class="lines">@@ -891,21 +891,21 @@
</span><span class="cx"> virtual bool isMathMultiscript() const { return false; }
</span><span class="cx">
</span><span class="cx"> // Root components.
</span><del>- virtual AccessibilityObject* mathRadicandObject() { return 0; }
- virtual AccessibilityObject* mathRootIndexObject() { return 0; }
</del><ins>+ virtual AccessibilityObject* mathRadicandObject() { return nullptr; }
+ virtual AccessibilityObject* mathRootIndexObject() { return nullptr; }
</ins><span class="cx">
</span><span class="cx"> // Under over components.
</span><del>- virtual AccessibilityObject* mathUnderObject() { return 0; }
- virtual AccessibilityObject* mathOverObject() { return 0; }
</del><ins>+ virtual AccessibilityObject* mathUnderObject() { return nullptr; }
+ virtual AccessibilityObject* mathOverObject() { return nullptr; }
</ins><span class="cx">
</span><span class="cx"> // Fraction components.
</span><del>- virtual AccessibilityObject* mathNumeratorObject() { return 0; }
- virtual AccessibilityObject* mathDenominatorObject() { return 0; }
</del><ins>+ virtual AccessibilityObject* mathNumeratorObject() { return nullptr; }
+ virtual AccessibilityObject* mathDenominatorObject() { return nullptr; }
</ins><span class="cx">
</span><span class="cx"> // Subscript/superscript components.
</span><del>- virtual AccessibilityObject* mathBaseObject() { return 0; }
- virtual AccessibilityObject* mathSubscriptObject() { return 0; }
- virtual AccessibilityObject* mathSuperscriptObject() { return 0; }
</del><ins>+ virtual AccessibilityObject* mathBaseObject() { return nullptr; }
+ virtual AccessibilityObject* mathSubscriptObject() { return nullptr; }
+ virtual AccessibilityObject* mathSuperscriptObject() { return nullptr; }
</ins><span class="cx">
</span><span class="cx"> // Fenced components.
</span><span class="cx"> virtual String mathFencedOpenString() const { return String(); }
</span><span class="lines">@@ -969,7 +969,7 @@
</span><span class="cx"> virtual bool computeAccessibilityIsIgnored() const { return true; }
</span><span class="cx">
</span><span class="cx"> // If this object itself scrolls, return its ScrollableArea.
</span><del>- virtual ScrollableArea* getScrollableAreaIfScrollable() const { return 0; }
</del><ins>+ virtual ScrollableArea* getScrollableAreaIfScrollable() const { return nullptr; }
</ins><span class="cx"> virtual void scrollTo(const IntPoint&) const { }
</span><span class="cx">
</span><span class="cx"> static bool isAccessibilityObjectSearchMatchAtIndex(AccessibilityObject*, AccessibilitySearchCriteria*, size_t);
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityProgressIndicatorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -123,7 +123,7 @@
</span><span class="cx"> HTMLProgressElement* AccessibilityProgressIndicator::progressElement() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer->isProgress())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return toRenderProgress(m_renderer)->progressElement();
</span><span class="cx"> }
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx"> HTMLMeterElement* AccessibilityProgressIndicator::meterElement() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer->isMeter())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return toRenderMeter(m_renderer)->meterElement();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -143,13 +143,13 @@
</span><span class="cx"> if (m_renderer)
</span><span class="cx"> m_renderer->setHasAXObject(false);
</span><span class="cx"> #endif
</span><del>- m_renderer = 0;
</del><ins>+ m_renderer = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RenderBoxModelObject* AccessibilityRenderObject::renderBoxModelObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer || !m_renderer->isBoxModelObject())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return toRenderBoxModelObject(m_renderer);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -225,7 +225,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::firstChild() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* firstChild = firstChildConsideringContinuation(m_renderer);
</span><span class="cx">
</span><span class="lines">@@ -242,7 +242,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::lastChild() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* lastChild = lastChildConsideringContinuation(m_renderer);
</span><span class="cx">
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx"> if (r->isRenderBlock() && toRenderBlock(r)->inlineElementContinuation())
</span><span class="cx"> return toRenderInline(toRenderBlock(r)->inlineElementContinuation()->element()->renderer());
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static inline RenderObject* endOfContinuations(RenderObject* renderer)
</span><span class="lines">@@ -288,8 +288,8 @@
</span><span class="cx"> static inline RenderObject* childBeforeConsideringContinuations(RenderInline* r, RenderObject* child)
</span><span class="cx"> {
</span><span class="cx"> RenderBoxModelObject* curContainer = r;
</span><del>- RenderObject* cur = 0;
- RenderObject* prev = 0;
</del><ins>+ RenderObject* cur = nullptr;
+ RenderObject* prev = nullptr;
</ins><span class="cx">
</span><span class="cx"> while (curContainer) {
</span><span class="cx"> if (curContainer->isRenderInline()) {
</span><span class="lines">@@ -313,7 +313,7 @@
</span><span class="cx">
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static inline bool firstChildIsInlineContinuation(RenderObject* renderer)
</span><span class="lines">@@ -325,9 +325,9 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::previousSibling() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><del>- RenderObject* previousSibling = 0;
</del><ins>+ RenderObject* previousSibling = nullptr;
</ins><span class="cx">
</span><span class="cx"> // Case 1: The node is a block and is an inline's continuation. In that case, the inline's
</span><span class="cx"> // last child is our previous sibling (or further back in the continuation chain)
</span><span class="lines">@@ -354,7 +354,7 @@
</span><span class="cx"> previousSibling = childBeforeConsideringContinuations(startOfConts, m_renderer->parent()->firstChild());
</span><span class="cx">
</span><span class="cx"> if (!previousSibling)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(previousSibling);
</span><span class="cx"> }
</span><span class="lines">@@ -368,9 +368,9 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::nextSibling() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><del>- RenderObject* nextSibling = 0;
</del><ins>+ RenderObject* nextSibling = nullptr;
</ins><span class="cx">
</span><span class="cx"> // Case 1: node is a block and has an inline continuation. Next sibling is the inline continuation's
</span><span class="cx"> // first child.
</span><span class="lines">@@ -409,7 +409,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (!nextSibling)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(nextSibling);
</span><span class="cx"> }
</span><span class="lines">@@ -421,20 +421,20 @@
</span><span class="cx"> return toRenderInline(renderer)->continuation();
</span><span class="cx"> if (renderer->isRenderBlock())
</span><span class="cx"> return toRenderBlock(renderer)->inlineElementContinuation();
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RenderObject* AccessibilityRenderObject::renderParentObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderElement* parent = m_renderer->parent();
</span><span class="cx">
</span><span class="cx"> // Case 1: node is a block and is an inline's continuation. Parent
</span><span class="cx"> // is the start of the continuation chain.
</span><span class="cx"> RenderInline* startOfConts = nullptr;
</span><del>- RenderObject* firstChild = 0;
</del><ins>+ RenderObject* firstChild = nullptr;
</ins><span class="cx"> if (m_renderer->isRenderBlock() && (startOfConts = startOfContinuations(m_renderer)))
</span><span class="cx"> parent = startOfConts;
</span><span class="cx">
</span><span class="lines">@@ -483,7 +483,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::parentObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (ariaRoleAttribute() == MenuBarRole)
</span><span class="cx"> return axObjectCache()->getOrCreate(m_renderer->parent());
</span><span class="lines">@@ -507,7 +507,7 @@
</span><span class="cx"> if (isWebArea())
</span><span class="cx"> return cache->getOrCreate(&m_renderer->view().frameView());
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityRenderObject::isAttachment() const
</span><span class="lines">@@ -560,7 +560,7 @@
</span><span class="cx"> Element* AccessibilityRenderObject::anchorElement() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = axObjectCache();
</span><span class="cx"> if (!cache)
</span><span class="lines">@@ -589,7 +589,7 @@
</span><span class="cx"> return toElement(node);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> String AccessibilityRenderObject::helpText() const
</span><span class="lines">@@ -655,7 +655,7 @@
</span><span class="cx"> if (m_renderer->isText() || mode.childrenInclusion == AccessibilityTextUnderElementMode::TextUnderElementModeIncludeAllChildren) {
</span><span class="cx"> // If possible, use a text iterator to get the text, so that whitespace
</span><span class="cx"> // is handled consistently.
</span><del>- Document* nodeDocument = 0;
</del><ins>+ Document* nodeDocument = nullptr;
</ins><span class="cx"> RefPtr<Range> textRange;
</span><span class="cx"> if (Node* node = m_renderer->node()) {
</span><span class="cx"> nodeDocument = &node->document();
</span><span class="lines">@@ -712,7 +712,7 @@
</span><span class="cx"> Node* AccessibilityRenderObject::node() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> if (m_renderer->isRenderView())
</span><span class="cx"> return &m_renderer->document();
</span><span class="cx"> return m_renderer->node();
</span><span class="lines">@@ -774,11 +774,11 @@
</span><span class="cx"> HTMLLabelElement* AccessibilityRenderObject::labelElementContainer() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // the control element should not be considered part of the label
</span><span class="cx"> if (isControl())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // find if this has a parent that is a label
</span><span class="cx"> for (Node* parentNode = m_renderer->node(); parentNode; parentNode = parentNode->parentNode()) {
</span><span class="lines">@@ -786,7 +786,7 @@
</span><span class="cx"> return toHTMLLabelElement(parentNode);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // The boundingBox for elements within the remote SVG element needs to be offset by its position
</span><span class="lines">@@ -911,26 +911,26 @@
</span><span class="cx"> {
</span><span class="cx"> Element* element = anchorElement();
</span><span class="cx"> if (!element)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Right now, we do not support ARIA links as internal link elements
</span><span class="cx"> if (!isHTMLAnchorElement(element))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> HTMLAnchorElement* anchor = toHTMLAnchorElement(element);
</span><span class="cx">
</span><span class="cx"> URL linkURL = anchor->href();
</span><span class="cx"> String fragmentIdentifier = linkURL.fragmentIdentifier();
</span><span class="cx"> if (fragmentIdentifier.isEmpty())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // check if URL is the same as current URL
</span><span class="cx"> URL documentURL = m_renderer->document().url();
</span><span class="cx"> if (!equalIgnoringFragmentIdentifier(documentURL, linkURL))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* linkedNode = m_renderer->document().findAnchor(fragmentIdentifier);
</span><span class="cx"> if (!linkedNode)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // The element we find may not be accessible, so find the first accessible object.
</span><span class="cx"> return firstAccessibleObjectFromNode(linkedNode);
</span><span class="lines">@@ -1097,7 +1097,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::titleUIElement() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // if isFieldset is true, the renderer is guaranteed to be a RenderFieldset
</span><span class="cx"> if (isFieldset())
</span><span class="lines">@@ -1105,12 +1105,12 @@
</span><span class="cx">
</span><span class="cx"> Node* node = m_renderer->node();
</span><span class="cx"> if (!node || !node->isElementNode())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> HTMLLabelElement* label = labelForElement(toElement(node));
</span><span class="cx"> if (label && label->renderer())
</span><span class="cx"> return axObjectCache()->getOrCreate(label);
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityRenderObject::isAllowedChildOfTree() const
</span><span class="lines">@@ -1638,7 +1638,7 @@
</span><span class="cx"> Node* node = this->node();
</span><span class="cx">
</span><span class="cx"> if (!on || !node || !node->isElementNode()) {
</span><del>- document->setFocusedElement(0);
</del><ins>+ document->setFocusedElement(nullptr);
</ins><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1646,7 +1646,7 @@
</span><span class="cx"> // That is a problem when focus is removed from the webpage to chrome, and then returns.
</span><span class="cx"> // In these cases, we need to do what keyboard and mouse focus do, which is reset focus first.
</span><span class="cx"> if (document->focusedElement() == node)
</span><del>- document->setFocusedElement(0);
</del><ins>+ document->setFocusedElement(nullptr);
</ins><span class="cx">
</span><span class="cx"> toElement(node)->focus();
</span><span class="cx"> }
</span><span class="lines">@@ -1705,7 +1705,7 @@
</span><span class="cx"> {
</span><span class="cx"> Document* topDoc = topDocument();
</span><span class="cx"> if (!topDoc)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return topDoc->renderView();
</span><span class="cx"> }
</span><span class="lines">@@ -1713,14 +1713,14 @@
</span><span class="cx"> Document* AccessibilityRenderObject::document() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return &m_renderer->document();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> Widget* AccessibilityRenderObject::widget() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer->isBoxModelObject() || !toRenderBoxModelObject(m_renderer)->isWidget())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return toRenderWidget(m_renderer)->widget();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1728,11 +1728,11 @@
</span><span class="cx"> {
</span><span class="cx"> // find an image that is using this map
</span><span class="cx"> if (!map)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> HTMLImageElement* imageElement = map->imageElement();
</span><span class="cx"> if (!imageElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (AXObjectCache* cache = axObjectCache())
</span><span class="cx"> return cache->getOrCreate(imageElement);
</span><span class="lines">@@ -1769,7 +1769,7 @@
</span><span class="cx"> FrameView* AccessibilityRenderObject::documentFrameView() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // this is the RenderObject's Document's Frame's FrameView
</span><span class="cx"> return &m_renderer->view().frameView();
</span><span class="lines">@@ -1778,7 +1778,7 @@
</span><span class="cx"> Widget* AccessibilityRenderObject::widgetForAttachmentView() const
</span><span class="cx"> {
</span><span class="cx"> if (!isAttachment())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return toRenderWidget(m_renderer)->widget();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1886,7 +1886,7 @@
</span><span class="cx"> Element* AccessibilityRenderObject::rootEditableElementForPosition(const Position& position) const
</span><span class="cx"> {
</span><span class="cx"> // Find the root editable or pseudo-editable (i.e. having an editable ARIA role) element.
</span><del>- Element* result = 0;
</del><ins>+ Element* result = nullptr;
</ins><span class="cx">
</span><span class="cx"> Element* rootEditableElement = position.rootEditableElement();
</span><span class="cx">
</span><span class="lines">@@ -1986,7 +1986,7 @@
</span><span class="cx"> FrameView* frameView = &renderView->frameView();
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>- Node* innerNode = 0;
</del><ins>+ Node* innerNode = nullptr;
</ins><span class="cx">
</span><span class="cx"> // locate the node containing the point
</span><span class="cx"> LayoutPoint pointResult;
</span><span class="lines">@@ -2148,9 +2148,9 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::accessibilityImageMapHitTest(HTMLAreaElement* area, const IntPoint& point) const
</span><span class="cx"> {
</span><span class="cx"> if (!area)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><del>- AccessibilityObject* parent = 0;
</del><ins>+ AccessibilityObject* parent = nullptr;
</ins><span class="cx"> for (Element* mapParent = area->parentElement(); mapParent; mapParent = mapParent->parentElement()) {
</span><span class="cx"> if (isHTMLMapElement(mapParent)) {
</span><span class="cx"> parent = accessibilityParentForImageMap(toHTMLMapElement(mapParent));
</span><span class="lines">@@ -2158,21 +2158,21 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> if (!parent)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> for (const auto& child : parent->children()) {
</span><span class="cx"> if (child->elementRect().contains(point))
</span><span class="cx"> return child.get();
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::remoteSVGElementHitTest(const IntPoint& point) const
</span><span class="cx"> {
</span><span class="cx"> AccessibilityObject* remote = remoteSVGRootElement();
</span><span class="cx"> if (!remote)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> IntSize offset = point - roundedIntPoint(boundingBoxRect().location());
</span><span class="cx"> return remote->accessibilityHitTest(IntPoint(offset));
</span><span class="lines">@@ -2189,7 +2189,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::accessibilityHitTest(const IntPoint& point) const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer || !m_renderer->hasLayer())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderLayer* layer = toRenderBox(m_renderer)->layer();
</span><span class="cx">
</span><span class="lines">@@ -2197,7 +2197,7 @@
</span><span class="cx"> HitTestResult hitTestResult = HitTestResult(point);
</span><span class="cx"> layer->hitTest(request, hitTestResult);
</span><span class="cx"> if (!hitTestResult.innerNode())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> Node* node = hitTestResult.innerNode()->deprecatedShadowAncestorNode();
</span><span class="cx">
</span><span class="cx"> if (isHTMLAreaElement(node))
</span><span class="lines">@@ -2208,7 +2208,7 @@
</span><span class="cx">
</span><span class="cx"> RenderObject* obj = node->renderer();
</span><span class="cx"> if (!obj)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* result = obj->document().axObjectCache()->getOrCreate(obj);
</span><span class="cx"> result->updateChildrenIfNecessary();
</span><span class="lines">@@ -2349,15 +2349,15 @@
</span><span class="cx"> {
</span><span class="cx"> HTMLLabelElement* labelElement = labelElementContainer();
</span><span class="cx"> if (!labelElement)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> HTMLElement* correspondingControl = labelElement->control();
</span><span class="cx"> if (!correspondingControl)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Make sure the corresponding control isn't a descendant of this label that's in the middle of being destroyed.
</span><span class="cx"> if (correspondingControl->renderer() && !correspondingControl->renderer()->parent())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(correspondingControl);
</span><span class="cx"> }
</span><span class="lines">@@ -2365,12 +2365,12 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::correspondingLabelForControlElement() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // ARIA: section 2A, bullet #3 says if aria-labeledby or aria-label appears, it should
</span><span class="cx"> // override the "label" element association.
</span><span class="cx"> if (hasTextAlternative())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* node = m_renderer->node();
</span><span class="cx"> if (node && node->isHTMLElement()) {
</span><span class="lines">@@ -2379,7 +2379,7 @@
</span><span class="cx"> return axObjectCache()->getOrCreate(label);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityRenderObject::renderObjectIsObservable(RenderObject* renderer) const
</span><span class="lines">@@ -2413,7 +2413,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityRenderObject::isDescendantOfElementType(const QualifiedName& tagName) const
</span><span class="lines">@@ -2658,7 +2658,7 @@
</span><span class="cx"> static NeverDestroyed<HashSet<QualifiedName>> listItemParents;
</span><span class="cx"> static NeverDestroyed<HashSet<QualifiedName>> tableCellParents;
</span><span class="cx">
</span><del>- HashSet<QualifiedName>* possibleParentTagNames = 0;
</del><ins>+ HashSet<QualifiedName>* possibleParentTagNames = nullptr;
</ins><span class="cx"> switch (roleValue()) {
</span><span class="cx"> case ListItemRole:
</span><span class="cx"> case ListMarkerRole:
</span><span class="lines">@@ -2849,7 +2849,7 @@
</span><span class="cx"> void AccessibilityRenderObject::detachRemoteSVGRoot()
</span><span class="cx"> {
</span><span class="cx"> if (AccessibilitySVGRoot* root = remoteSVGRootElement())
</span><del>- root->setParent(0);
</del><ins>+ root->setParent(nullptr);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilitySVGRoot* AccessibilityRenderObject::remoteSVGRootElement() const
</span><span class="lines">@@ -2988,7 +2988,7 @@
</span><span class="cx"> if (children.size())
</span><span class="cx"> childObject = children.last().get();
</span><span class="cx"> else
</span><del>- childObject = 0;
</del><ins>+ childObject = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (childObject)
</span><span class="lines">@@ -3235,7 +3235,7 @@
</span><span class="cx"> if (!m_renderer)
</span><span class="cx"> return;
</span><span class="cx">
</span><del>- Node* domNode = 0;
</del><ins>+ Node* domNode = nullptr;
</ins><span class="cx"> // For web areas, set the aria-label on the HTML element.
</span><span class="cx"> if (isWebArea())
</span><span class="cx"> domNode = m_renderer->document().documentElement();
</span><span class="lines">@@ -3450,14 +3450,14 @@
</span><span class="cx"> {
</span><span class="cx"> // If the parent is a scroll view, then this object isn't really scrollable, the parent ScrollView should handle the scrolling.
</span><span class="cx"> if (parentObject() && parentObject()->isAccessibilityScrollView())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (!m_renderer || !m_renderer->isBox())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderBox* box = toRenderBox(m_renderer);
</span><span class="cx"> if (!box->canBeScrolledAndHasScrollableArea())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return box->layer();
</span><span class="cx"> }
</span><span class="lines">@@ -3612,7 +3612,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathRadicandObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathRoot())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() < 1)
</span><span class="lines">@@ -3625,11 +3625,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathRootIndexObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathRoot())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() != 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // The index in a root is the value which determines if it's a square, cube, etc, root
</span><span class="cx"> // and must be listed second.
</span><span class="lines">@@ -3639,11 +3639,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathNumeratorObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathFraction())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() != 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return children[0].get();
</span><span class="cx"> }
</span><span class="lines">@@ -3651,11 +3651,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathDenominatorObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathFraction())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() != 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return children[1].get();
</span><span class="cx"> }
</span><span class="lines">@@ -3663,67 +3663,67 @@
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathUnderObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathUnderOver() || !node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() < 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (node()->hasTagName(MathMLNames::munderTag) || node()->hasTagName(MathMLNames::munderoverTag))
</span><span class="cx"> return children[1].get();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathOverObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathUnderOver() || !node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() < 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (node()->hasTagName(MathMLNames::moverTag))
</span><span class="cx"> return children[1].get();
</span><span class="cx"> if (node()->hasTagName(MathMLNames::munderoverTag))
</span><span class="cx"> return children[2].get();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathBaseObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathSubscriptSuperscript() && !isMathUnderOver() && !isMathMultiscript())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> // The base object in question is always the first child.
</span><span class="cx"> if (children.size() > 0)
</span><span class="cx"> return children[0].get();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathSubscriptObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathSubscriptSuperscript() || !node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> if (children.size() < 2)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (node()->hasTagName(MathMLNames::msubTag) || node()->hasTagName(MathMLNames::msubsupTag))
</span><span class="cx"> return children[1].get();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityRenderObject::mathSuperscriptObject()
</span><span class="cx"> {
</span><span class="cx"> if (!isMathSubscriptSuperscript() || !node())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& children = this->children();
</span><span class="cx"> unsigned count = children.size();
</span><span class="lines">@@ -3734,7 +3734,7 @@
</span><span class="cx"> if (count >= 3 && node()->hasTagName(MathMLNames::msubsupTag))
</span><span class="cx"> return children[2].get();
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> String AccessibilityRenderObject::mathFencedOpenString() const
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilitySVGRootcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilitySVGRoot.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx">
</span><span class="cx"> AccessibilitySVGRoot::AccessibilitySVGRoot(RenderObject* renderer)
</span><span class="cx"> : AccessibilityRenderObject(renderer)
</span><del>- , m_parent(0)
</del><ins>+ , m_parent(nullptr)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityScrollViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> void AccessibilityScrollView::detach(AccessibilityDetachmentType detachmentType, AXObjectCache* cache)
</span><span class="cx"> {
</span><span class="cx"> AccessibilityObject::detach(detachmentType, cache);
</span><del>- m_scrollView = 0;
</del><ins>+ m_scrollView = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> PassRefPtr<AccessibilityScrollView> AccessibilityScrollView::create(ScrollView* view)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> return m_horizontalScrollbar ? m_horizontalScrollbar.get() : 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // If this is WebKit1 then the native scroll view needs to return the
</span><span class="lines">@@ -124,14 +124,14 @@
</span><span class="cx"> m_horizontalScrollbar = addChildScrollbar(m_scrollView->horizontalScrollbar());
</span><span class="cx"> else if (!m_scrollView->horizontalScrollbar() && m_horizontalScrollbar) {
</span><span class="cx"> removeChildScrollbar(m_horizontalScrollbar.get());
</span><del>- m_horizontalScrollbar = 0;
</del><ins>+ m_horizontalScrollbar = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (m_scrollView->verticalScrollbar() && !m_verticalScrollbar)
</span><span class="cx"> m_verticalScrollbar = addChildScrollbar(m_scrollView->verticalScrollbar());
</span><span class="cx"> else if (!m_scrollView->verticalScrollbar() && m_verticalScrollbar) {
</span><span class="cx"> removeChildScrollbar(m_verticalScrollbar.get());
</span><del>- m_verticalScrollbar = 0;
</del><ins>+ m_verticalScrollbar = nullptr;
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -147,7 +147,7 @@
</span><span class="cx"> AccessibilityScrollbar* AccessibilityScrollView::addChildScrollbar(Scrollbar* scrollbar)
</span><span class="cx"> {
</span><span class="cx"> if (!scrollbar)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = axObjectCache();
</span><span class="cx"> if (!cache)
</span><span class="lines">@@ -162,8 +162,8 @@
</span><span class="cx"> void AccessibilityScrollView::clearChildren()
</span><span class="cx"> {
</span><span class="cx"> AccessibilityObject::clearChildren();
</span><del>- m_verticalScrollbar = 0;
- m_horizontalScrollbar = 0;
</del><ins>+ m_verticalScrollbar = nullptr;
+ m_horizontalScrollbar = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool AccessibilityScrollView::computeAccessibilityIsIgnored() const
</span><span class="lines">@@ -190,11 +190,11 @@
</span><span class="cx"> AccessibilityObject* AccessibilityScrollView::webAreaObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_scrollView || !m_scrollView->isFrameView())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Document* doc = toFrameView(m_scrollView)->frame().document();
</span><span class="cx"> if (!doc || !doc->hasLivingRenderTree())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (AXObjectCache* cache = axObjectCache())
</span><span class="cx"> return cache->getOrCreate(doc);
</span><span class="lines">@@ -206,7 +206,7 @@
</span><span class="cx"> {
</span><span class="cx"> AccessibilityObject* webArea = webAreaObject();
</span><span class="cx"> if (!webArea)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (m_horizontalScrollbar && m_horizontalScrollbar->elementRect().contains(point))
</span><span class="cx"> return m_horizontalScrollbar.get();
</span><span class="lines">@@ -229,7 +229,7 @@
</span><span class="cx"> FrameView* AccessibilityScrollView::documentFrameView() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_scrollView || !m_scrollView->isFrameView())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return toFrameView(m_scrollView);
</span><span class="cx"> }
</span><span class="lines">@@ -237,7 +237,7 @@
</span><span class="cx"> AccessibilityObject* AccessibilityScrollView::parentObject() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_scrollView || !m_scrollView->isFrameView())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = axObjectCache();
</span><span class="cx"> if (!cache)
</span><span class="lines">@@ -247,13 +247,13 @@
</span><span class="cx"> if (owner && owner->renderer())
</span><span class="cx"> return cache->getOrCreate(owner);
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityScrollView::parentObjectIfExists() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_scrollView || !m_scrollView->isFrameView())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AXObjectCache* cache = axObjectCache();
</span><span class="cx"> if (!cache)
</span><span class="lines">@@ -263,7 +263,7 @@
</span><span class="cx"> if (owner && owner->renderer())
</span><span class="cx"> return cache->get(owner);
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> ScrollableArea* AccessibilityScrollView::getScrollableAreaIfScrollable() const
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityScrollbarcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityScrollbar.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityScrollbar.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityScrollbar.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> {
</span><span class="cx"> AccessibilityObject* parent = parentObject();
</span><span class="cx"> if (!parent)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> return parent->document();
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilitySpinButtoncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilitySpinButton.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilitySpinButton.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilitySpinButton.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilitySpinButton::AccessibilitySpinButton()
</span><del>- : m_spinButtonElement(0)
</del><ins>+ : m_spinButtonElement(nullptr)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTable.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTable.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityTable.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx">
</span><span class="cx"> AccessibilityTable::AccessibilityTable(RenderObject* renderer)
</span><span class="cx"> : AccessibilityRenderObject(renderer)
</span><del>- , m_headerContainer(0)
</del><ins>+ , m_headerContainer(nullptr)
</ins><span class="cx"> , m_isAccessibilityTable(true)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -342,7 +342,7 @@
</span><span class="cx">
</span><span class="cx"> if (m_headerContainer) {
</span><span class="cx"> m_headerContainer->detachFromParent();
</span><del>- m_headerContainer = 0;
</del><ins>+ m_headerContainer = nullptr;
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -537,7 +537,7 @@
</span><span class="cx"> {
</span><span class="cx"> updateChildrenIfNecessary();
</span><span class="cx"> if (column >= columnCount() || row >= rowCount())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Iterate backwards through the rows in case the desired cell has a rowspan and exists in a previous row.
</span><span class="cx"> for (unsigned rowIndexCounter = row + 1; rowIndexCounter > 0; --rowIndexCounter) {
</span><span class="lines">@@ -564,7 +564,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityRole AccessibilityTable::roleValue() const
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTableCellcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -76,11 +76,11 @@
</span><span class="cx"> AccessibilityTable* AccessibilityTableCell::parentTable() const
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer || !m_renderer->isTableCell())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // If the document no longer exists, we might not have an axObjectCache.
</span><span class="cx"> if (!axObjectCache())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Do not use getOrCreate. parentTable() can be called while the render tree is being modified
</span><span class="cx"> // by javascript, and creating a table element may try to access the render tree while in a bad state.
</span><span class="lines">@@ -261,33 +261,33 @@
</span><span class="cx"> // then it can act as the title ui element. (This is only in the
</span><span class="cx"> // case when the table is not appearing as an AXTable.)
</span><span class="cx"> if (isTableCell() || !m_renderer || !m_renderer->isTableCell())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // Table cells that are th cannot have title ui elements, since by definition
</span><span class="cx"> // they are title ui elements
</span><span class="cx"> Node* node = m_renderer->node();
</span><span class="cx"> if (node && node->hasTagName(thTag))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderTableCell* renderCell = toRenderTableCell(m_renderer);
</span><span class="cx">
</span><span class="cx"> // If this cell is in the first column, there is no need to continue.
</span><span class="cx"> int col = renderCell->col();
</span><span class="cx"> if (!col)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> int row = renderCell->rowIndex();
</span><span class="cx">
</span><span class="cx"> RenderTableSection* section = renderCell->section();
</span><span class="cx"> if (!section)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderTableCell* headerCell = section->primaryCellAt(row, 0);
</span><span class="cx"> if (!headerCell || headerCell == renderCell)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (!headerCell->element() || !headerCell->element()->hasTagName(thTag))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(headerCell);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTableColumncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTableColumn.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTableColumn.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityTableColumn.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -70,14 +70,14 @@
</span><span class="cx"> AccessibilityObject* AccessibilityTableColumn::headerObject()
</span><span class="cx"> {
</span><span class="cx"> if (!m_parent)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* renderer = m_parent->renderer();
</span><span class="cx"> if (!renderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (!m_parent->isAccessibilityTable())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> AccessibilityTable* parentTable = toAccessibilityTable(m_parent);
</span><span class="cx"> if (parentTable->isAriaTable()) {
</span><span class="lines">@@ -86,15 +86,15 @@
</span><span class="cx"> return cell.get();
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (!renderer->isTable())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderTable* table = toRenderTable(renderer);
</span><span class="cx">
</span><del>- AccessibilityObject* headerObject = 0;
</del><ins>+ AccessibilityObject* headerObject = nullptr;
</ins><span class="cx">
</span><span class="cx"> // try the <thead> section first. this doesn't require th tags
</span><span class="cx"> headerObject = headerObjectForSection(table->header(), false);
</span><span class="lines">@@ -111,16 +111,16 @@
</span><span class="cx"> AccessibilityObject* AccessibilityTableColumn::headerObjectForSection(RenderTableSection* section, bool thTagRequired)
</span><span class="cx"> {
</span><span class="cx"> if (!section)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> unsigned numCols = section->numColumns();
</span><span class="cx"> if (m_columnIndex >= numCols)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> if (!section->numRows())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><del>- RenderTableCell* cell = 0;
</del><ins>+ RenderTableCell* cell = nullptr;
</ins><span class="cx"> // also account for cells that have a span
</span><span class="cx"> for (int testCol = m_columnIndex; testCol >= 0; --testCol) {
</span><span class="cx"> RenderTableCell* testCell = section->primaryCellAt(0, testCol);
</span><span class="lines">@@ -142,7 +142,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (!cell)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return axObjectCache()->getOrCreate(cell);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTableRowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTableRow.cpp (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTableRow.cpp        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/AccessibilityTableRow.cpp        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -110,30 +110,30 @@
</span><span class="cx"> return parent->isAccessibilityTable() ? toAccessibilityTable(parent) : 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AccessibilityObject* AccessibilityTableRow::headerObject()
</span><span class="cx"> {
</span><span class="cx"> if (!m_renderer || !m_renderer->isTableRow())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> const auto& rowChildren = children();
</span><span class="cx"> if (!rowChildren.size())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> // check the first element in the row to see if it is a TH element
</span><span class="cx"> AccessibilityObject* cell = rowChildren[0].get();
</span><span class="cx"> if (!cell->isTableCell())
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> RenderObject* cellRenderer = toAccessibilityTableCell(cell)->renderer();
</span><span class="cx"> if (!cellRenderer)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* cellNode = cellRenderer->node();
</span><span class="cx"> if (!cellNode || !cellNode->hasTagName(thTag))
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return cell;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityiosAXObjectCacheIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> void AXObjectCache::detachWrapper(AccessibilityObject* obj, AccessibilityDetachmentType)
</span><span class="cx"> {
</span><span class="cx"> [obj->wrapper() detach];
</span><del>- obj->setWrapper(0);
</del><ins>+ obj->setWrapper(nullptr);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void AXObjectCache::attachWrapper(AccessibilityObject* obj)
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityiosWebAccessibilityObjectWrapperIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -214,7 +214,7 @@
</span><span class="cx"> {
</span><span class="cx"> // rdar://8798960 Make sure the object is gone early, so that anything _accessibilityUnregister
</span><span class="cx"> // does can't call back into the render tree.
</span><del>- m_object = 0;
</del><ins>+ m_object = nullptr;
</ins><span class="cx">
</span><span class="cx"> if ([self respondsToSelector:@selector(_accessibilityUnregister)])
</span><span class="cx"> [self _accessibilityUnregister];
</span><span class="lines">@@ -794,12 +794,12 @@
</span><span class="cx"> - (AccessibilityTableCell*)tableCellParent
</span><span class="cx"> {
</span><span class="cx"> // Find if this element is in a table cell.
</span><del>- AccessibilityObject* cell = 0;
</del><ins>+ AccessibilityObject* cell = nullptr;
</ins><span class="cx"> for (cell = m_object; cell && !cell->isTableCell(); cell = cell->parentObject())
</span><span class="cx"> { }
</span><span class="cx">
</span><span class="cx"> if (!cell)
</span><del>- return 0;
</del><ins>+ return nil;
</ins><span class="cx">
</span><span class="cx"> return static_cast<AccessibilityTableCell*>(cell);
</span><span class="cx"> }
</span><span class="lines">@@ -807,12 +807,12 @@
</span><span class="cx"> - (AccessibilityTable*)tableParent
</span><span class="cx"> {
</span><span class="cx"> // Find if the parent table for the table cell.
</span><del>- AccessibilityObject* parentTable = 0;
</del><ins>+ AccessibilityObject* parentTable = nullptr;
</ins><span class="cx"> for (parentTable = m_object; parentTable && !parentTable->isDataTable(); parentTable = parentTable->parentObject())
</span><span class="cx"> { }
</span><span class="cx">
</span><span class="cx"> if (!parentTable)
</span><del>- return 0;
</del><ins>+ return nil;
</ins><span class="cx">
</span><span class="cx"> return static_cast<AccessibilityTable*>(parentTable);
</span><span class="cx"> }
</span><span class="lines">@@ -1110,8 +1110,8 @@
</span><span class="cx"> }
</span><span class="cx"> else {
</span><span class="cx"> // Find the appropriate scroll view to use to convert the contents to the window.
</span><del>- ScrollView* scrollView = 0;
- AccessibilityObject* parent = 0;
</del><ins>+ ScrollView* scrollView = nullptr;
+ AccessibilityObject* parent = nullptr;
</ins><span class="cx"> for (parent = m_object->parentObject(); parent; parent = parent->parentObject()) {
</span><span class="cx"> if (parent->isAccessibilityScrollView()) {
</span><span class="cx"> scrollView = toAccessibilityScrollView(parent)->scrollView();
</span><span class="lines">@@ -1164,8 +1164,8 @@
</span><span class="cx">
</span><span class="cx"> } else {
</span><span class="cx"> // Find the appropriate scroll view to use to convert the contents to the window.
</span><del>- ScrollView* scrollView = 0;
- AccessibilityObject* parent = 0;
</del><ins>+ ScrollView* scrollView = nullptr;
+ AccessibilityObject* parent = nullptr;
</ins><span class="cx"> for (parent = m_object->parentObject(); parent; parent = parent->parentObject()) {
</span><span class="cx"> if (parent->isAccessibilityScrollView()) {
</span><span class="cx"> scrollView = toAccessibilityScrollView(parent)->scrollView();
</span><span class="lines">@@ -1417,16 +1417,16 @@
</span><span class="cx"> static RenderObject* rendererForView(WAKView* view)
</span><span class="cx"> {
</span><span class="cx"> if (![view conformsToProtocol:@protocol(WebCoreFrameView)])
</span><del>- return 0;
</del><ins>+ return nil;
</ins><span class="cx">
</span><span class="cx"> WAKView<WebCoreFrameView>* frameView = (WAKView<WebCoreFrameView>*)view;
</span><span class="cx"> Frame* frame = [frameView _web_frame];
</span><span class="cx"> if (!frame)
</span><del>- return 0;
</del><ins>+ return nil;
</ins><span class="cx">
</span><span class="cx"> Node* node = frame->document()->ownerElement();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nil;
</ins><span class="cx">
</span><span class="cx"> return node->renderer();
</span><span class="cx"> }
</span><span class="lines">@@ -1887,7 +1887,7 @@
</span><span class="cx"> - (PassRefPtr<Range>)_convertToDOMRange:(NSRange)nsrange
</span><span class="cx"> {
</span><span class="cx"> if (nsrange.location > INT_MAX)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> if (nsrange.length > INT_MAX || nsrange.location + nsrange.length > INT_MAX)
</span><span class="cx"> nsrange.length = INT_MAX - nsrange.location;
</span><span class="cx">
</span><span class="lines">@@ -2474,8 +2474,8 @@
</span><span class="cx"> // These are used by DRT so that it can know when notifications are sent.
</span><span class="cx"> // Since they are static, only one callback can be installed at a time (that's all DRT should need).
</span><span class="cx"> typedef void (*AXPostedNotificationCallback)(id element, NSString* notification, void* context);
</span><del>-static AXPostedNotificationCallback AXNotificationCallback = 0;
-static void* AXPostedNotificationContext = 0;
</del><ins>+static AXPostedNotificationCallback AXNotificationCallback = nullptr;
+static void* AXPostedNotificationContext = nullptr;
</ins><span class="cx">
</span><span class="cx"> - (void)accessibilitySetPostedNotificationCallback:(AXPostedNotificationCallback)function withContext:(void*)context
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> void AXObjectCache::detachWrapper(AccessibilityObject* obj, AccessibilityDetachmentType)
</span><span class="cx"> {
</span><span class="cx"> [obj->wrapper() detach];
</span><del>- obj->setWrapper(0);
</del><ins>+ obj->setWrapper(nullptr);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void AXObjectCache::attachWrapper(AccessibilityObject* obj)
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacAccessibilityObjectMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> void AccessibilityObject::detachFromParent()
</span><span class="cx"> {
</span><span class="cx"> if (isAttachment())
</span><del>- overrideAttachmentParent(0);
</del><ins>+ overrideAttachmentParent(nullptr);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void AccessibilityObject::overrideAttachmentParent(AccessibilityObject* parent)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> {
</span><span class="cx"> // FrameView attachments are now handled by AccessibilityScrollView,
</span><span class="cx"> // so if this is the attachment, it should be ignored.
</span><del>- Widget* widget = 0;
</del><ins>+ Widget* widget = nullptr;
</ins><span class="cx"> if (isAttachment() && (widget = widgetForAttachmentView()) && widget->isFrameView())
</span><span class="cx"> return true;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperBasemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx">
</span><span class="cx"> - (void)detach
</span><span class="cx"> {
</span><del>- m_object = 0;
</del><ins>+ m_object = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> - (BOOL)updateObjectBackingStore
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -806,7 +806,7 @@
</span><span class="cx"> // check for match with existing color
</span><span class="cx"> if (existingColor && CGColorEqualToColor(cgColor, existingColor)) {
</span><span class="cx"> CGColorRelease(cgColor);
</span><del>- cgColor = 0;
</del><ins>+ cgColor = nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> return cgColor;
</span><span class="lines">@@ -1749,8 +1749,8 @@
</span><span class="cx"> } else {
</span><span class="cx">
</span><span class="cx"> // Find the appropriate scroll view to use to convert the contents to the window.
</span><del>- ScrollView* scrollView = 0;
- AccessibilityObject* parent = 0;
</del><ins>+ ScrollView* scrollView = nullptr;
+ AccessibilityObject* parent = nullptr;
</ins><span class="cx"> for (parent = m_object->parentObject(); parent; parent = parent->parentObject()) {
</span><span class="cx"> if (parent->isAccessibilityScrollView()) {
</span><span class="cx"> scrollView = toAccessibilityScrollView(parent)->scrollView();
</span><span class="lines">@@ -3322,16 +3322,16 @@
</span><span class="cx"> static RenderObject* rendererForView(NSView* view)
</span><span class="cx"> {
</span><span class="cx"> if (![view conformsToProtocol:@protocol(WebCoreFrameView)])
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> NSView<WebCoreFrameView>* frameView = (NSView<WebCoreFrameView>*)view;
</span><span class="cx"> Frame* frame = [frameView _web_frame];
</span><span class="cx"> if (!frame)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> Node* node = frame->document()->ownerElement();
</span><span class="cx"> if (!node)
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx">
</span><span class="cx"> return node->renderer();
</span><span class="cx"> }
</span><span class="lines">@@ -3420,7 +3420,7 @@
</span><span class="cx"> NSNumber* number = nil;
</span><span class="cx"> NSArray* array = nil;
</span><span class="cx"> NSDictionary* dictionary = nil;
</span><del>- RefPtr<AccessibilityObject> uiElement = 0;
</del><ins>+ RefPtr<AccessibilityObject> uiElement = nullptr;
</ins><span class="cx"> NSPoint point = NSZeroPoint;
</span><span class="cx"> bool pointSet = false;
</span><span class="cx"> NSRange range = {0, 0};
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitywinAccessibilityObjectWrapperWinh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/win/AccessibilityObjectWrapperWin.h (171476 => 171477)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/win/AccessibilityObjectWrapperWin.h        2014-07-23 12:12:36 UTC (rev 171476)
+++ trunk/Source/WebCore/accessibility/win/AccessibilityObjectWrapperWin.h        2014-07-23 14:57:15 UTC (rev 171477)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> AccessibilityObjectWrapper(AccessibilityObject* obj) : m_object(obj) { }
</span><del>- AccessibilityObjectWrapper() : m_object(0) { }
</del><ins>+ AccessibilityObjectWrapper() : m_object(nullptr) { }
</ins><span class="cx">
</span><span class="cx"> AccessibilityObject* m_object;
</span><span class="cx"> };
</span></span></pre>
</div>
</div>
</body>
</html>