<!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>[184979] 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/184979">184979</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-05-28 21:53:35 -0700 (Thu, 28 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Replaced 0 with nullptr in WebCore/accessibility.
https://bugs.webkit.org/show_bug.cgi?id=145309

Patch by Hunseop Jeong &lt;hs85.jeong@samsung.com&gt; on 2015-05-28
Reviewed by Chris Fleizach.

No new tests, no behavior change.

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::mathPrescripts):
(WebCore::AccessibilityRenderObject::mathPostscripts):
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::scrollBar):
* accessibility/atk/AXObjectCacheAtk.cpp:
(WebCore::notifyChildrenSelectionChange):
* accessibility/atk/WebKitAccessibleHyperlink.cpp:
(webkitAccessibleHyperlinkInit):
* accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
(webkitAccessibleDocumentGetAttributes):
* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(getAttributeSetForAccessibilityObject):
(attributeSetDifference):
* accessibility/atk/WebKitAccessibleUtil.h:
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(webkitAccessibleRefChild):
(webkitAccessibleGetAttributes):
(webkitAccessibleGetObjectLocale):
(getInterfaceMaskFromObject):
(objectFocusedAndCaretOffsetUnignored):
(cacheAndReturnAtkProperty):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityScrollViewcpp">trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkAXObjectCacheAtkcpp">trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleHyperlinkcpp">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleInterfaceDocumentcpp">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleInterfaceTextcpp">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleUtilh">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleWrapperAtkcpp">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/ChangeLog        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2015-05-28  Hunseop Jeong  &lt;hs85.jeong@samsung.com&gt;
+
+        Replaced 0 with nullptr in WebCore/accessibility.
+        https://bugs.webkit.org/show_bug.cgi?id=145309
+
+        Reviewed by Chris Fleizach.
+
+        No new tests, no behavior change.
+
+        * accessibility/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::mathPrescripts):
+        (WebCore::AccessibilityRenderObject::mathPostscripts):
+        * accessibility/AccessibilityScrollView.cpp:
+        (WebCore::AccessibilityScrollView::scrollBar):
+        * accessibility/atk/AXObjectCacheAtk.cpp:
+        (WebCore::notifyChildrenSelectionChange):
+        * accessibility/atk/WebKitAccessibleHyperlink.cpp:
+        (webkitAccessibleHyperlinkInit):
+        * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
+        (webkitAccessibleDocumentGetAttributes):
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        (getAttributeSetForAccessibilityObject):
+        (attributeSetDifference):
+        * accessibility/atk/WebKitAccessibleUtil.h:
+        * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+        (webkitAccessibleRefChild):
+        (webkitAccessibleGetAttributes):
+        (webkitAccessibleGetObjectLocale):
+        (getInterfaceMaskFromObject):
+        (objectFocusedAndCaretOffsetUnignored):
+        (cacheAndReturnAtkProperty):
+
</ins><span class="cx"> 2015-05-28  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Subpixel rendering: Pixel crack in text selection of simple text in &lt;textarea&gt;.
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -3852,8 +3852,8 @@
</span><span class="cx">                 else {
</span><span class="cx">                     prescriptPair.second = axChild;
</span><span class="cx">                     prescripts.append(prescriptPair);
</span><del>-                    prescriptPair.first = 0;
-                    prescriptPair.second = 0;
</del><ins>+                    prescriptPair.first = nullptr;
+                    prescriptPair.second = nullptr;
</ins><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx">         } else if (child-&gt;hasTagName(MathMLNames::mprescriptsTag))
</span><span class="lines">@@ -3887,8 +3887,8 @@
</span><span class="cx">             else {
</span><span class="cx">                 postscriptPair.second = axChild;
</span><span class="cx">                 postscripts.append(postscriptPair);
</span><del>-                postscriptPair.first = 0;
-                postscriptPair.second = 0;
</del><ins>+                postscriptPair.first = nullptr;
+                postscriptPair.second = 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 (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/AccessibilityScrollView.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -65,9 +65,9 @@
</span><span class="cx">     
</span><span class="cx">     switch (orientation) {
</span><span class="cx">     case AccessibilityOrientationVertical:
</span><del>-        return m_verticalScrollbar ? m_verticalScrollbar.get() : 0;
</del><ins>+        return m_verticalScrollbar ? m_verticalScrollbar.get() : nullptr;
</ins><span class="cx">     case AccessibilityOrientationHorizontal:
</span><del>-        return m_horizontalScrollbar ? m_horizontalScrollbar.get() : 0;
</del><ins>+        return m_horizontalScrollbar ? m_horizontalScrollbar.get() : nullptr;
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     return nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkAXObjectCacheAtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -168,8 +168,8 @@
</span><span class="cx">     if (oldListObject.get() != listObject)
</span><span class="cx">         oldFocusedObject.get() = 0;
</span><span class="cx"> 
</span><del>-    AtkObject* axItem = item ? item-&gt;wrapper() : 0;
-    AtkObject* axOldFocusedObject = oldFocusedObject.get() ? oldFocusedObject.get()-&gt;wrapper() : 0;
</del><ins>+    AtkObject* axItem = item ? item-&gt;wrapper() : nullptr;
+    AtkObject* axOldFocusedObject = oldFocusedObject.get() ? oldFocusedObject.get()-&gt;wrapper() : nullptr;
</ins><span class="cx"> 
</span><span class="cx">     // Old focused object just lost focus, so emit the events.
</span><span class="cx">     if (axOldFocusedObject &amp;&amp; axItem != axOldFocusedObject) {
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleHyperlinkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -385,7 +385,7 @@
</span><span class="cx"> static void webkitAccessibleHyperlinkInit(AtkHyperlink* link)
</span><span class="cx"> {
</span><span class="cx">     WEBKIT_ACCESSIBLE_HYPERLINK(link)-&gt;priv = WEBKIT_ACCESSIBLE_HYPERLINK_GET_PRIVATE(link);
</span><del>-    WEBKIT_ACCESSIBLE_HYPERLINK(link)-&gt;priv-&gt;hyperlinkImpl = 0;
</del><ins>+    WEBKIT_ACCESSIBLE_HYPERLINK(link)-&gt;priv-&gt;hyperlinkImpl = nullptr;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> GType webkitAccessibleHyperlinkGetType()
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleInterfaceDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -89,7 +89,7 @@
</span><span class="cx">     g_return_val_if_fail(ATK_IS_DOCUMENT(document), 0);
</span><span class="cx">     returnValIfWebKitAccessibleIsInvalid(WEBKIT_ACCESSIBLE(document), 0);
</span><span class="cx"> 
</span><del>-    AtkAttributeSet* attributeSet = 0;
</del><ins>+    AtkAttributeSet* attributeSet = nullptr;
</ins><span class="cx">     const gchar* attributes[] = { &quot;DocType&quot;, &quot;Encoding&quot;, &quot;URI&quot; };
</span><span class="cx"> 
</span><span class="cx">     for (unsigned i = 0; i &lt; G_N_ELEMENTS(attributes); i++) {
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleInterfaceTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">     RenderObject* renderer = object-&gt;renderer();
</span><span class="cx">     RenderStyle* style = &amp;renderer-&gt;style();
</span><span class="cx"> 
</span><del>-    AtkAttributeSet* result = 0;
</del><ins>+    AtkAttributeSet* result = nullptr;
</ins><span class="cx">     GUniquePtr&lt;gchar&gt; buffer(g_strdup_printf(&quot;%i&quot;, style-&gt;fontSize()));
</span><span class="cx">     result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_SIZE), buffer.get());
</span><span class="cx"> 
</span><span class="lines">@@ -231,7 +231,7 @@
</span><span class="cx"> 
</span><span class="cx">     AtkAttributeSet* currentSet = attributeSet1;
</span><span class="cx">     AtkAttributeSet* found;
</span><del>-    AtkAttributeSet* toDelete = 0;
</del><ins>+    AtkAttributeSet* toDelete = nullptr;
</ins><span class="cx"> 
</span><span class="cx">     while (currentSet) {
</span><span class="cx">         found = g_slist_find_custom(attributeSet2, currentSet-&gt;data, (GCompareFunc)compareAttribute);
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleUtilh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx"> AtkAttributeSet* addToAtkAttributeSet(AtkAttributeSet*, const char* name, const char* value);
</span><span class="cx"> 
</span><del>-void contentsRelativeToAtkCoordinateType(WebCore::AccessibilityObject*, AtkCoordType, WebCore::IntRect, gint* x, gint* y, gint* width = 0, gint* height = 0);
</del><ins>+void contentsRelativeToAtkCoordinateType(WebCore::AccessibilityObject*, AtkCoordType, WebCore::IntRect, gint* x, gint* y, gint* width = nullptr, gint* height = nullptr);
</ins><span class="cx"> 
</span><span class="cx"> String accessibilityTitle(WebCore::AccessibilityObject*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleWrapperAtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp (184978 => 184979)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp        2015-05-29 04:50:59 UTC (rev 184978)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp        2015-05-29 04:53:35 UTC (rev 184979)
</span><span class="lines">@@ -259,7 +259,7 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static gpointer webkitAccessibleParentClass = 0;
</del><ins>+static gpointer webkitAccessibleParentClass = nullptr;
</ins><span class="cx"> 
</span><span class="cx"> static bool isRootObject(AccessibilityObject* coreObject)
</span><span class="cx"> {
</span><span class="lines">@@ -340,7 +340,7 @@
</span><span class="cx">         return 0;
</span><span class="cx"> 
</span><span class="cx">     AccessibilityObject* coreObject = core(object);
</span><del>-    AccessibilityObject* coreChild = 0;
</del><ins>+    AccessibilityObject* coreChild = nullptr;
</ins><span class="cx"> 
</span><span class="cx">     const AccessibilityObject::AccessibilityChildrenVector&amp; children = coreObject-&gt;children();
</span><span class="cx">     if (static_cast&lt;size_t&gt;(index) &gt;= children.size())
</span><span class="lines">@@ -392,7 +392,7 @@
</span><span class="cx">     g_return_val_if_fail(WEBKIT_IS_ACCESSIBLE(object), 0);
</span><span class="cx">     returnValIfWebKitAccessibleIsInvalid(WEBKIT_ACCESSIBLE(object), 0);
</span><span class="cx"> 
</span><del>-    AtkAttributeSet* attributeSet = 0;
</del><ins>+    AtkAttributeSet* attributeSet = nullptr;
</ins><span class="cx"> #if PLATFORM(GTK)
</span><span class="cx">     attributeSet = addToAtkAttributeSet(attributeSet, &quot;toolkit&quot;, &quot;WebKitGtk&quot;);
</span><span class="cx"> #elif PLATFORM(EFL)
</span><span class="lines">@@ -919,7 +919,7 @@
</span><span class="cx">             return cacheAndReturnAtkProperty(object, AtkCachedDocumentLocale, language);
</span><span class="cx"> 
</span><span class="cx">     } else if (ATK_IS_TEXT(object)) {
</span><del>-        const gchar* locale = 0;
</del><ins>+        const gchar* locale = nullptr;
</ins><span class="cx"> 
</span><span class="cx">         AtkAttributeSet* textAttributes = atk_text_get_default_attributes(ATK_TEXT(object));
</span><span class="cx">         for (AtkAttributeSet* attributes = textAttributes; attributes; attributes = attributes-&gt;next) {
</span><span class="lines">@@ -1088,7 +1088,7 @@
</span><span class="cx">         interfaceMask |= 1 &lt;&lt; WAISelection;
</span><span class="cx"> 
</span><span class="cx">     // Get renderer if available.
</span><del>-    RenderObject* renderer = 0;
</del><ins>+    RenderObject* renderer = nullptr;
</ins><span class="cx">     if (coreObject-&gt;isAccessibilityRenderObject())
</span><span class="cx">         renderer = coreObject-&gt;renderer();
</span><span class="cx"> 
</span><span class="lines">@@ -1269,7 +1269,7 @@
</span><span class="cx">     if (referenceObject-&gt;isDescendantOfObject(firstUnignoredParent))
</span><span class="cx">         referenceObject = firstUnignoredParent;
</span><span class="cx"> 
</span><del>-    Node* startNode = 0;
</del><ins>+    Node* startNode = nullptr;
</ins><span class="cx">     if (firstUnignoredParent != referenceObject || firstUnignoredParent-&gt;isTextControl()) {
</span><span class="cx">         // We need to use the first child's node of the reference
</span><span class="cx">         // object as the start point to calculate the caret offset
</span><span class="lines">@@ -1311,7 +1311,7 @@
</span><span class="cx"> const char* cacheAndReturnAtkProperty(AtkObject* object, AtkCachedProperty property, String value)
</span><span class="cx"> {
</span><span class="cx">     WebKitAccessiblePrivate* priv = WEBKIT_ACCESSIBLE(object)-&gt;priv;
</span><del>-    CString* propertyPtr = 0;
</del><ins>+    CString* propertyPtr = nullptr;
</ins><span class="cx"> 
</span><span class="cx">     switch (property) {
</span><span class="cx">     case AtkCachedAccessibleName:
</span></span></pre>
</div>
</div>

</body>
</html>