<!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>[191002] trunk/Source</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/191002">191002</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-10-13 12:15:55 -0700 (Tue, 13 Oct 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Avoid useless copies in range-loops that are using 'auto'
https://bugs.webkit.org/show_bug.cgi?id=150091

Reviewed by Sam Weinig.

Avoid useless copies in range-loops that are using 'auto'. Also use
'auto*' instead of 'auto' when range values are pointers for clarity.
Source/bmalloc:

* bmalloc/Deallocator.cpp:
(bmalloc::Deallocator::processObjectLog):

Source/WebKit/mac:

* WebView/WebFrame.mm:
(-[WebFrame getDictationResultRanges:andMetadatas:]):

Source/WebKit2:

* UIProcess/VisitedLinkStore.cpp:
(WebKit::VisitedLinkStore::pendingVisitedLinksTimerFired):
(WebKit::VisitedLinkStore::resizeTable):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::releaseRemainingIconsForPageURLs):
* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::fetchData):
(WebKit::WebsiteDataStore::removeData):
(WebKit::WebsiteDataStore::plugins):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTablecpp">trunk/Source/WebCore/accessibility/AccessibilityTable.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityTreecpp">trunk/Source/WebCore/accessibility/AccessibilityTree.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomPositioncpp">trunk/Source/WebCore/dom/Position.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderappcacheApplicationCacheStoragecpp">trunk/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp</a></li>
<li><a href="#trunkSourceWebCorepageDragControllercpp">trunk/Source/WebCore/page/DragController.cpp</a></li>
<li><a href="#trunkSourceWebCorepageanimationCompositeAnimationcpp">trunk/Source/WebCore/page/animation/CompositeAnimation.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformaudioPlatformMediaSessionManagercpp">trunk/Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsFontCachecpp">trunk/Source/WebCore/platform/graphics/FontCache.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsPathUtilitiescpp">trunk/Source/WebCore/platform/graphics/PathUtilities.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsavfoundationobjcMediaPlayerPrivateMediaStreamAVFObjCmm">trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp">trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformiosWebVideoFullscreenModelVideoElementmm">trunk/Source/WebCore/platform/ios/WebVideoFullscreenModelVideoElement.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmediastreamRealtimeMediaSourcecpp">trunk/Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingInlineFlowBoxcpp">trunk/Source/WebCore/rendering/InlineFlowBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockcpp">trunk/Source/WebCore/rendering/RenderBlock.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockFlowcpp">trunk/Source/WebCore/rendering/RenderBlockFlow.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBoxcpp">trunk/Source/WebCore/rendering/RenderBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderInlinecpp">trunk/Source/WebCore/rendering/RenderInline.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayercpp">trunk/Source/WebCore/rendering/RenderLayer.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderObjectcpp">trunk/Source/WebCore/rendering/RenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextLineBoxescpp">trunk/Source/WebCore/rendering/RenderTextLineBoxes.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTreeAsTextcpp">trunk/Source/WebCore/rendering/RenderTreeAsText.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGTextMetricsBuildercpp">trunk/Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSVGElementcpp">trunk/Source/WebCore/svg/SVGSVGElement.cpp</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebFramemm">trunk/Source/WebKit/mac/WebView/WebFrame.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessVisitedLinkStorecpp">trunk/Source/WebKit2/UIProcess/VisitedLinkStore.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessProxycpp">trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStorecpp">trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp</a></li>
<li><a href="#trunkSourcebmallocChangeLog">trunk/Source/bmalloc/ChangeLog</a></li>
<li><a href="#trunkSourcebmallocbmallocDeallocatorcpp">trunk/Source/bmalloc/bmalloc/Deallocator.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/ChangeLog        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2015-10-13  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Avoid useless copies in range-loops that are using 'auto'
+        https://bugs.webkit.org/show_bug.cgi?id=150091
+
+        Reviewed by Sam Weinig.
+
+        Avoid useless copies in range-loops that are using 'auto'. Also use
+        'auto*' instead of 'auto' when range values are pointers for clarity.
+
</ins><span class="cx"> 2015-10-13  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Move Image::drawPattern for CG into GraphicsContext
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTable.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTable.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/accessibility/AccessibilityTable.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -474,7 +474,7 @@
</span><span class="cx">                     addTableCellChild(obj, appendedRows, maxColumnCount);
</span><span class="cx">                     continue;
</span><span class="cx">                 }
</span><del>-                for (auto child = obj-&gt;firstChild(); child; child = child-&gt;nextSibling())
</del><ins>+                for (auto* child = obj-&gt;firstChild(); child; child = child-&gt;nextSibling())
</ins><span class="cx">                     queue.append(child);
</span><span class="cx">             }
</span><span class="cx">         } else
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityTreecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityTree.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityTree.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/accessibility/AccessibilityTree.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx">         return false;
</span><span class="cx">     
</span><span class="cx">     Deque&lt;Node*&gt; queue;
</span><del>-    for (auto child = node-&gt;firstChild(); child; child = child-&gt;nextSibling())
</del><ins>+    for (auto* child = node-&gt;firstChild(); child; child = child-&gt;nextSibling())
</ins><span class="cx">         queue.append(child);
</span><span class="cx"> 
</span><span class="cx">     while (!queue.isEmpty()) {
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx">         if (!nodeHasRole(child, &quot;group&quot;))
</span><span class="cx">             return false;
</span><span class="cx"> 
</span><del>-        for (auto groupChild = child-&gt;firstChild(); groupChild; groupChild = groupChild-&gt;nextSibling())
</del><ins>+        for (auto* groupChild = child-&gt;firstChild(); groupChild; groupChild = groupChild-&gt;nextSibling())
</ins><span class="cx">             queue.append(groupChild);
</span><span class="cx">     }
</span><span class="cx">     return true;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -10013,7 +10013,7 @@
</span><span class="cx"> {
</span><span class="cx">     // The filter is a list of functional primitives that specify individual operations.
</span><span class="cx">     RefPtr&lt;CSSValueList&gt; list = CSSValueList::createSpaceSeparated();
</span><del>-    for (auto value = valueList.current(); value; value = valueList.next()) {
</del><ins>+    for (auto* value = valueList.current(); value; value = valueList.next()) {
</ins><span class="cx">         if (value-&gt;unit != CSSPrimitiveValue::CSS_URI &amp;&amp; (value-&gt;unit != CSSParserValue::Function || !value-&gt;function))
</span><span class="cx">             return false;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/dom/Document.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -2328,7 +2328,7 @@
</span><span class="cx">     if (!m_clientToIDMap.isEmpty() &amp;&amp; page()) {
</span><span class="cx">         Vector&lt;WebCore::MediaPlaybackTargetClient*&gt; clients;
</span><span class="cx">         copyKeysToVector(m_clientToIDMap, clients);
</span><del>-        for (auto client : clients)
</del><ins>+        for (auto* client : clients)
</ins><span class="cx">             removePlaybackTargetPickerClient(*client);
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="lines">@@ -3545,7 +3545,7 @@
</span><span class="cx"> void Document::updateIsPlayingMedia(uint64_t sourceElementID)
</span><span class="cx"> {
</span><span class="cx">     MediaProducer::MediaStateFlags state = MediaProducer::IsNotPlaying;
</span><del>-    for (auto audioProducer : m_audioProducers)
</del><ins>+    for (auto* audioProducer : m_audioProducers)
</ins><span class="cx">         state |= audioProducer-&gt;mediaState();
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(MEDIA_SESSION)
</span><span class="lines">@@ -3575,7 +3575,7 @@
</span><span class="cx"> 
</span><span class="cx"> void Document::pageMutedStateDidChange()
</span><span class="cx"> {
</span><del>-    for (auto audioProducer : m_audioProducers)
</del><ins>+    for (auto* audioProducer : m_audioProducers)
</ins><span class="cx">         audioProducer-&gt;pageMutedStateDidChange();
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomPositioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Position.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Position.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/dom/Position.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -710,7 +710,7 @@
</span><span class="cx"> 
</span><span class="cx">             unsigned textOffset = currentPos.offsetInLeafNode();
</span><span class="cx">             auto lastTextBox = textRenderer.lastTextBox();
</span><del>-            for (auto box = textRenderer.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</del><ins>+            for (auto* box = textRenderer.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">                 if (textOffset &lt;= box-&gt;start() + box-&gt;len()) {
</span><span class="cx">                     if (textOffset &gt; box-&gt;start())
</span><span class="cx">                         return currentPos;
</span><span class="lines">@@ -838,7 +838,7 @@
</span><span class="cx"> 
</span><span class="cx">             unsigned textOffset = currentPos.offsetInLeafNode();
</span><span class="cx">             auto lastTextBox = textRenderer.lastTextBox();
</span><del>-            for (auto box = textRenderer.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</del><ins>+            for (auto* box = textRenderer.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">                 if (textOffset &lt;= box-&gt;end()) {
</span><span class="cx">                     if (textOffset &gt;= box-&gt;start())
</span><span class="cx">                         return currentPos;
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderappcacheApplicationCacheStoragecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -272,7 +272,7 @@
</span><span class="cx">     ASSERT(!url.hasFragmentIdentifier());
</span><span class="cx"> 
</span><span class="cx">     // Check if an appropriate cache already exists in memory.
</span><del>-    for (auto group : m_cachesInMemory.values()) {
</del><ins>+    for (auto* group : m_cachesInMemory.values()) {
</ins><span class="cx">         ASSERT(!group-&gt;isObsolete());
</span><span class="cx"> 
</span><span class="cx">         if (ApplicationCache* cache = group-&gt;newestCache()) {
</span><span class="lines">@@ -1284,7 +1284,7 @@
</span><span class="cx">     // Clear the storage IDs for the caches in memory.
</span><span class="cx">     // The caches will still work, but cached resources will not be saved to disk 
</span><span class="cx">     // until a cache update process has been initiated.
</span><del>-    for (auto group : m_cachesInMemory.values())
</del><ins>+    for (auto* group : m_cachesInMemory.values())
</ins><span class="cx">         group-&gt;clearStorageID();
</span><span class="cx"> 
</span><span class="cx">     checkForDeletedResources();
</span></span></pre></div>
<a id="trunkSourceWebCorepageDragControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DragController.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DragController.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/page/DragController.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -649,7 +649,7 @@
</span><span class="cx">         state.type = DragSourceActionNone;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    for (auto renderer = startElement-&gt;renderer(); renderer; renderer = renderer-&gt;parent()) {
</del><ins>+    for (auto* renderer = startElement-&gt;renderer(); renderer; renderer = renderer-&gt;parent()) {
</ins><span class="cx">         Element* element = renderer-&gt;nonPseudoElement();
</span><span class="cx">         if (!element) {
</span><span class="cx">             // Anonymous render blocks don't correspond to actual DOM elements, so we skip over them
</span></span></pre></div>
<a id="trunkSourceWebCorepageanimationCompositeAnimationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/animation/CompositeAnimation.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/animation/CompositeAnimation.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/page/animation/CompositeAnimation.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -293,7 +293,7 @@
</span><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     // Now remove the animations from the list.
</span><del>-    for (auto nameForRemoval : animsToBeRemoved)
</del><ins>+    for (auto* nameForRemoval : animsToBeRemoved)
</ins><span class="cx">         m_keyframeAnimations.remove(nameForRemoval);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformaudioPlatformMediaSessionManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -332,7 +332,7 @@
</span><span class="cx">     if (m_interrupted)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    for (auto session : m_sessions)
</del><ins>+    for (auto* session : m_sessions)
</ins><span class="cx">         session-&gt;beginInterruption(PlatformMediaSession::SystemSleep);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -341,7 +341,7 @@
</span><span class="cx">     if (m_interrupted)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    for (auto session : m_sessions)
</del><ins>+    for (auto* session : m_sessions)
</ins><span class="cx">         session-&gt;endInterruption(PlatformMediaSession::MayResumePlaying);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsFontCachecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/FontCache.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/FontCache.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/graphics/FontCache.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -441,7 +441,7 @@
</span><span class="cx">         if (entry.value &amp;&amp; !cachedFonts().contains(*entry.value))
</span><span class="cx">             keysToRemove.append(entry.key);
</span><span class="cx">     }
</span><del>-    for (auto key : keysToRemove)
</del><ins>+    for (auto&amp; key : keysToRemove)
</ins><span class="cx">         fontPlatformDataCache().remove(key);
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(OPENTYPE_VERTICAL)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsPathUtilitiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/PathUtilities.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/PathUtilities.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/graphics/PathUtilities.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx">         // point with the greatest internal angle.
</span><span class="cx">         FloatPointGraph::Node* nextNode = nullptr;
</span><span class="cx">         float nextNodeAngle = 0;
</span><del>-        for (auto potentialNextNode : currentNode-&gt;nextPoints()) {
</del><ins>+        for (auto* potentialNextNode : currentNode-&gt;nextPoints()) {
</ins><span class="cx">             if (potentialNextNode == currentNode)
</span><span class="cx">                 continue;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsavfoundationobjcMediaPlayerPrivateMediaStreamAVFObjCmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -146,7 +146,7 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx">     m_previewLayer = nullptr;
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks()) {
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks()) {
</ins><span class="cx">         if (track-&gt;type() == RealtimeMediaSource::Type::Video)
</span><span class="cx">             m_previewLayer = static_cast&lt;AVVideoCaptureSource*&gt;(track-&gt;source())-&gt;previewLayer();
</span><span class="cx">     }
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx"> {
</span><span class="cx">     m_playing = true;
</span><span class="cx"> 
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks())
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks())
</ins><span class="cx">         track-&gt;source()-&gt;startProducingData();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -208,7 +208,7 @@
</span><span class="cx"> {
</span><span class="cx">     m_playing = false;
</span><span class="cx"> 
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks())
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks())
</ins><span class="cx">         track-&gt;source()-&gt;stopProducingData();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -229,7 +229,7 @@
</span><span class="cx"> 
</span><span class="cx"> void MediaPlayerPrivateMediaStreamAVFObjC::setMuted(bool muted)
</span><span class="cx"> {
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks()) {
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks()) {
</ins><span class="cx">         if (track-&gt;type() == RealtimeMediaSource::Type::Audio)
</span><span class="cx">             track-&gt;source()-&gt;setMuted(muted);
</span><span class="cx">     }
</span><span class="lines">@@ -238,7 +238,7 @@
</span><span class="cx"> FloatSize MediaPlayerPrivateMediaStreamAVFObjC::naturalSize() const
</span><span class="cx"> {
</span><span class="cx">     FloatSize floatSize(0, 0);
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks()) {
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks()) {
</ins><span class="cx">         if (track-&gt;type() == RealtimeMediaSource::Type::Video) {
</span><span class="cx">             AVVideoCaptureSource* source = (AVVideoCaptureSource*)track-&gt;source();
</span><span class="cx">             if (!source-&gt;stopped() &amp;&amp; track-&gt;enabled()) {
</span><span class="lines">@@ -254,7 +254,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool MediaPlayerPrivateMediaStreamAVFObjC::hasVideo() const
</span><span class="cx"> {
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks()) {
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks()) {
</ins><span class="cx">         if (track-&gt;type() == RealtimeMediaSource::Type::Video)
</span><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="lines">@@ -263,7 +263,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool MediaPlayerPrivateMediaStreamAVFObjC::hasAudio() const
</span><span class="cx"> {
</span><del>-    for (auto track : m_MediaStreamPrivate-&gt;tracks()) {
</del><ins>+    for (auto&amp; track : m_MediaStreamPrivate-&gt;tracks()) {
</ins><span class="cx">         if (track-&gt;type() == RealtimeMediaSource::Type::Audio)
</span><span class="cx">             return true;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1795,7 +1795,7 @@
</span><span class="cx">     primaryLayer()-&gt;setSublayerTransform(m_childrenTransform);
</span><span class="cx"> 
</span><span class="cx">     if (LayerMap* layerCloneMap = primaryLayerClones()) {
</span><del>-        for (auto &amp; layer : layerCloneMap-&gt;values())
</del><ins>+        for (auto&amp; layer : layerCloneMap-&gt;values())
</ins><span class="cx">             layer-&gt;setSublayerTransform(m_childrenTransform);
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="lines">@@ -1805,7 +1805,7 @@
</span><span class="cx">     m_layer-&gt;setMasksToBounds(m_masksToBounds);
</span><span class="cx"> 
</span><span class="cx">     if (LayerMap* layerCloneMap = m_layerClones.get()) {
</span><del>-        for (auto &amp; layer : layerCloneMap-&gt;values())
</del><ins>+        for (auto&amp; layer : layerCloneMap-&gt;values())
</ins><span class="cx">             layer-&gt;setMasksToBounds(m_masksToBounds);
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="lines">@@ -1820,7 +1820,7 @@
</span><span class="cx">         m_layer-&gt;setContents(nullptr);
</span><span class="cx"> 
</span><span class="cx">         if (LayerMap* layerCloneMap = m_layerClones.get()) {
</span><del>-            for (auto &amp; layer : layerCloneMap-&gt;values())
</del><ins>+            for (auto&amp; layer : layerCloneMap-&gt;values())
</ins><span class="cx">                 layer-&gt;setContents(nullptr);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="lines">@@ -1838,7 +1838,7 @@
</span><span class="cx">     m_layer-&gt;setOpaque(contentsOpaque);
</span><span class="cx"> 
</span><span class="cx">     if (LayerMap* layerCloneMap = m_layerClones.get()) {
</span><del>-        for (auto &amp; layer : layerCloneMap-&gt;values())
</del><ins>+        for (auto&amp; layer : layerCloneMap-&gt;values())
</ins><span class="cx">             layer-&gt;setOpaque(contentsOpaque);
</span><span class="cx">     }
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosWebVideoFullscreenModelVideoElementmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenModelVideoElement.mm (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenModelVideoElement.mm        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenModelVideoElement.mm        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -88,7 +88,7 @@
</span><span class="cx">         m_videoElement-&gt;setVideoFullscreenLayer(nullptr);
</span><span class="cx"> 
</span><span class="cx">     if (m_videoElement &amp;&amp; m_isListening) {
</span><del>-        for (auto eventName : observedEventNames())
</del><ins>+        for (auto&amp; eventName : observedEventNames())
</ins><span class="cx">             m_videoElement-&gt;removeEventListener(eventName, this, false);
</span><span class="cx">     }
</span><span class="cx">     m_isListening = false;
</span><span class="lines">@@ -98,7 +98,7 @@
</span><span class="cx">     if (!m_videoElement)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    for (auto eventName : observedEventNames())
</del><ins>+    for (auto&amp; eventName : observedEventNames())
</ins><span class="cx">         m_videoElement-&gt;addEventListener(eventName, this, false);
</span><span class="cx">     m_isListening = true;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmediastreamRealtimeMediaSourcecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx"> 
</span><span class="cx">     m_stopped = true;
</span><span class="cx"> 
</span><del>-    for (auto observer : m_observers) {
</del><ins>+    for (auto* observer : m_observers) {
</ins><span class="cx">         if (observer != callingObserver)
</span><span class="cx">             observer-&gt;sourceStopped();
</span><span class="cx">     }
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx">     if (stopped())
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    for (auto observer : m_observers) {
</del><ins>+    for (auto* observer : m_observers) {
</ins><span class="cx">         if (observer-&gt;preventSourceFromStopping())
</span><span class="cx">             return;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingInlineFlowBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/InlineFlowBox.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/InlineFlowBox.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/InlineFlowBox.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1171,7 +1171,7 @@
</span><span class="cx">                         containingBlockPaintsContinuationOutline = false;
</span><span class="cx">                     else {
</span><span class="cx">                         containingBlock = enclosingAnonymousBlock-&gt;containingBlock();
</span><del>-                        for (auto box = &amp;renderer(); box != containingBlock; box = &amp;box-&gt;parent()-&gt;enclosingBoxModelObject()) {
</del><ins>+                        for (auto* box = &amp;renderer(); box != containingBlock; box = &amp;box-&gt;parent()-&gt;enclosingBoxModelObject()) {
</ins><span class="cx">                             if (box-&gt;hasSelfPaintingLayer()) {
</span><span class="cx">                                 containingBlockPaintsContinuationOutline = false;
</span><span class="cx">                                 break;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlock.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlock.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderBlock.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1039,7 +1039,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderBlock::addOverflowFromBlockChildren()
</span><span class="cx"> {
</span><del>-    for (auto child = firstChildBox(); child; child = child-&gt;nextSiblingBox()) {
</del><ins>+    for (auto* child = firstChildBox(); child; child = child-&gt;nextSiblingBox()) {
</ins><span class="cx">         if (!child-&gt;isFloatingOrOutOfFlowPositioned())
</span><span class="cx">             addOverflowFromChild(child);
</span><span class="cx">     }
</span><span class="lines">@@ -1192,7 +1192,7 @@
</span><span class="cx">             box-&gt;computeOverflow(box-&gt;lineTop(), box-&gt;lineBottom(), textBoxDataMap);
</span><span class="cx">         }
</span><span class="cx">     } else {
</span><del>-        for (auto box = firstChildBox(); box; box = box-&gt;nextSiblingBox()) {
</del><ins>+        for (auto* box = firstChildBox(); box; box = box-&gt;nextSiblingBox()) {
</ins><span class="cx">             if (!box-&gt;isOutOfFlowPositioned())
</span><span class="cx">                 box-&gt;layoutIfNeeded();
</span><span class="cx">         }
</span><span class="lines">@@ -1451,7 +1451,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderBlock::paintChildren(PaintInfo&amp; paintInfo, const LayoutPoint&amp; paintOffset, PaintInfo&amp; paintInfoForChild, bool usePrintRect)
</span><span class="cx"> {
</span><del>-    for (auto child = firstChildBox(); child; child = child-&gt;nextSiblingBox()) {
</del><ins>+    for (auto* child = firstChildBox(); child; child = child-&gt;nextSiblingBox()) {
</ins><span class="cx">         if (!paintChild(*child, paintInfo, paintOffset, paintInfoForChild, usePrintRect))
</span><span class="cx">             return;
</span><span class="cx">     }
</span><span class="lines">@@ -2507,7 +2507,7 @@
</span><span class="cx">     HitTestAction childHitTest = hitTestAction;
</span><span class="cx">     if (hitTestAction == HitTestChildBlockBackgrounds)
</span><span class="cx">         childHitTest = HitTestChildBlockBackground;
</span><del>-    for (auto child = lastChildBox(); child; child = child-&gt;previousSiblingBox()) {
</del><ins>+    for (auto* child = lastChildBox(); child; child = child-&gt;previousSiblingBox()) {
</ins><span class="cx">         LayoutPoint childPoint = flipForWritingModeForChild(child, accumulatedOffset);
</span><span class="cx">         if (!child-&gt;hasSelfPaintingLayer() &amp;&amp; !child-&gt;isFloating() &amp;&amp; child-&gt;nodeAtPoint(request, result, locationInContainer, childPoint, childHitTest))
</span><span class="cx">             return true;
</span><span class="lines">@@ -2629,7 +2629,7 @@
</span><span class="cx">             || (!blocksAreFlipped &amp;&amp; pointInLogicalContents.y() == logicalTopForChild(*lastCandidateBox)))
</span><span class="cx">             return positionForPointRespectingEditingBoundaries(*this, *lastCandidateBox, pointInContents);
</span><span class="cx"> 
</span><del>-        for (auto childBox = firstChildBox(); childBox; childBox = childBox-&gt;nextSiblingBox()) {
</del><ins>+        for (auto* childBox = firstChildBox(); childBox; childBox = childBox-&gt;nextSiblingBox()) {
</ins><span class="cx">             if (!isChildHitTestCandidate(*childBox, region, pointInLogicalContents))
</span><span class="cx">                 continue;
</span><span class="cx">             LayoutUnit childLogicalBottom = logicalTopForChild(*childBox) + logicalHeightForChild(*childBox);
</span><span class="lines">@@ -2915,7 +2915,7 @@
</span><span class="cx">         return Optional&lt;int&gt;();
</span><span class="cx"> 
</span><span class="cx">     bool haveNormalFlowChild = false;
</span><del>-    for (auto box = lastChildBox(); box; box = box-&gt;previousSiblingBox()) {
</del><ins>+    for (auto* box = lastChildBox(); box; box = box-&gt;previousSiblingBox()) {
</ins><span class="cx">         if (box-&gt;isFloatingOrOutOfFlowPositioned())
</span><span class="cx">             continue;
</span><span class="cx">         haveNormalFlowChild = true;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockFlowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx">             // that will outlast this block. In the non-anonymous block case those
</span><span class="cx">             // children will be destroyed by the time we return from this function.
</span><span class="cx">             if (isAnonymousBlock()) {
</span><del>-                for (auto box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</del><ins>+                for (auto* box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</ins><span class="cx">                     while (auto childBox = box-&gt;firstChild())
</span><span class="cx">                         childBox-&gt;removeFromParent();
</span><span class="cx">                 }
</span><span class="lines">@@ -2038,7 +2038,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderBlockFlow::updateStylesForColumnChildren()
</span><span class="cx"> {
</span><del>-    for (auto child = firstChildBox(); child &amp;&amp; (child-&gt;isInFlowRenderFlowThread() || child-&gt;isRenderMultiColumnSet()); child = child-&gt;nextSiblingBox())
</del><ins>+    for (auto* child = firstChildBox(); child &amp;&amp; (child-&gt;isInFlowRenderFlowThread() || child-&gt;isRenderMultiColumnSet()); child = child-&gt;nextSiblingBox())
</ins><span class="cx">         child-&gt;setStyle(RenderStyle::createAnonymousStyleWithDisplay(&amp;style(), BLOCK));
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -2934,7 +2934,7 @@
</span><span class="cx">     if (childrenInline()) {
</span><span class="cx">         const_cast&lt;RenderBlockFlow&amp;&gt;(*this).ensureLineBoxes();
</span><span class="cx"> 
</span><del>-        for (auto box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</del><ins>+        for (auto* box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</ins><span class="cx">             if (box-&gt;firstChild())
</span><span class="cx">                 left = std::min(left, x + LayoutUnit(box-&gt;firstChild()-&gt;x()));
</span><span class="cx">             if (box-&gt;lastChild())
</span><span class="lines">@@ -3219,7 +3219,7 @@
</span><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><span class="cx">     if (childrenInline()) {
</span><del>-        for (auto box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</del><ins>+        for (auto* box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
</ins><span class="cx">             if (!i--)
</span><span class="cx">                 return box;
</span><span class="cx">         }
</span><span class="lines">@@ -3248,8 +3248,8 @@
</span><span class="cx">             ASSERT(!stopRootInlineBox);
</span><span class="cx">             return simpleLineLayout-&gt;lineCount();
</span><span class="cx">         }
</span><del>-        for (auto box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
-            count++;
</del><ins>+        for (auto* box = firstRootBox(); box; box = box-&gt;nextRootBox()) {
+            ++count;
</ins><span class="cx">             if (box == stopRootInlineBox) {
</span><span class="cx">                 if (found)
</span><span class="cx">                     *found = true;
</span><span class="lines">@@ -3280,13 +3280,13 @@
</span><span class="cx">         return -1;
</span><span class="cx"> 
</span><span class="cx">     if (block.childrenInline()) {
</span><del>-        for (auto box = block.firstRootBox(); box; box = box-&gt;nextRootBox()) {
</del><ins>+        for (auto* box = block.firstRootBox(); box; box = box-&gt;nextRootBox()) {
</ins><span class="cx">             if (++count == lineCount)
</span><span class="cx">                 return box-&gt;lineBottom() + (includeBottom ? (block.borderBottom() + block.paddingBottom()) : LayoutUnit());
</span><span class="cx">         }
</span><span class="cx">     } else {
</span><span class="cx">         RenderBox* normalFlowChildWithoutLines = nullptr;
</span><del>-        for (auto obj = block.firstChildBox(); obj; obj = obj-&gt;nextSiblingBox()) {
</del><ins>+        for (auto* obj = block.firstChildBox(); obj; obj = obj-&gt;nextSiblingBox()) {
</ins><span class="cx">             if (is&lt;RenderBlockFlow&gt;(*obj) &amp;&amp; shouldCheckLines(downcast&lt;RenderBlockFlow&gt;(*obj))) {
</span><span class="cx">                 int result = getHeightForLineCount(downcast&lt;RenderBlockFlow&gt;(*obj), lineCount, false, count);
</span><span class="cx">                 if (result != -1)
</span><span class="lines">@@ -3316,7 +3316,7 @@
</span><span class="cx">         ensureLineBoxes();
</span><span class="cx"> 
</span><span class="cx">         setHasMarkupTruncation(false);
</span><del>-        for (auto box = firstRootBox(); box; box = box-&gt;nextRootBox())
</del><ins>+        for (auto* box = firstRootBox(); box; box = box-&gt;nextRootBox())
</ins><span class="cx">             box-&gt;clearTruncation();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -3329,8 +3329,8 @@
</span><span class="cx"> 
</span><span class="cx"> bool RenderBlockFlow::containsNonZeroBidiLevel() const
</span><span class="cx"> {
</span><del>-    for (auto root = firstRootBox(); root; root = root-&gt;nextRootBox()) {
-        for (auto box = root-&gt;firstLeafChild(); box; box = box-&gt;nextLeafChild()) {
</del><ins>+    for (auto* root = firstRootBox(); root; root = root-&gt;nextRootBox()) {
+        for (auto* box = root-&gt;firstLeafChild(); box; box = box-&gt;nextLeafChild()) {
</ins><span class="cx">             if (box-&gt;bidiLevel())
</span><span class="cx">                 return true;
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBox.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -3278,7 +3278,7 @@
</span><span class="cx">     // FIXME: The static distance computation has not been patched for mixed writing modes yet.
</span><span class="cx">     if (child-&gt;parent()-&gt;style().direction() == LTR) {
</span><span class="cx">         LayoutUnit staticPosition = child-&gt;layer()-&gt;staticInlinePosition() - containerBlock-&gt;borderLogicalLeft();
</span><del>-        for (auto current = child-&gt;parent(); current &amp;&amp; current != containerBlock; current = current-&gt;container()) {
</del><ins>+        for (auto* current = child-&gt;parent(); current &amp;&amp; current != containerBlock; current = current-&gt;container()) {
</ins><span class="cx">             if (is&lt;RenderBox&gt;(*current)) {
</span><span class="cx">                 staticPosition += downcast&lt;RenderBox&gt;(*current).logicalLeft();
</span><span class="cx">                 if (region &amp;&amp; is&lt;RenderBlock&gt;(*current)) {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderInlinecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderInline.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderInline.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderInline.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">             // not have a parent that means they are either already disconnected or
</span><span class="cx">             // root lines that can just be destroyed without disconnecting.
</span><span class="cx">             if (firstLineBox()-&gt;parent()) {
</span><del>-                for (auto box = firstLineBox(); box; box = box-&gt;nextLineBox())
</del><ins>+                for (auto* box = firstLineBox(); box; box = box-&gt;nextLineBox())
</ins><span class="cx">                     box-&gt;removeFromParent();
</span><span class="cx">             }
</span><span class="cx">         } else if (parent())
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayer.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -914,7 +914,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderLayer::updateAncestorChainHasBlendingDescendants()
</span><span class="cx"> {
</span><del>-    for (auto layer = this; layer; layer = layer-&gt;parent()) {
</del><ins>+    for (auto* layer = this; layer; layer = layer-&gt;parent()) {
</ins><span class="cx">         if (!layer-&gt;hasNotIsolatedBlendingDescendantsStatusDirty() &amp;&amp; layer-&gt;hasNotIsolatedBlendingDescendants())
</span><span class="cx">             break;
</span><span class="cx">         layer-&gt;m_hasNotIsolatedBlendingDescendants = true;
</span><span class="lines">@@ -929,7 +929,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderLayer::dirtyAncestorChainHasBlendingDescendants()
</span><span class="cx"> {
</span><del>-    for (auto layer = this; layer; layer = layer-&gt;parent()) {
</del><ins>+    for (auto* layer = this; layer; layer = layer-&gt;parent()) {
</ins><span class="cx">         if (layer-&gt;hasNotIsolatedBlendingDescendantsStatusDirty())
</span><span class="cx">             break;
</span><span class="cx">         
</span><span class="lines">@@ -1285,13 +1285,13 @@
</span><span class="cx">         // Transformed or preserve-3d descendants can only be in the z-order lists, not
</span><span class="cx">         // in the normal flow list, so we only need to check those.
</span><span class="cx">         if (Vector&lt;RenderLayer*&gt;* positiveZOrderList = posZOrderList()) {
</span><del>-            for (auto layer : *positiveZOrderList)
</del><ins>+            for (auto* layer : *positiveZOrderList)
</ins><span class="cx">                 m_has3DTransformedDescendant |= layer-&gt;update3DTransformedDescendantStatus();
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // Now check our negative z-index children.
</span><span class="cx">         if (Vector&lt;RenderLayer*&gt;* negativeZOrderList = negZOrderList()) {
</span><del>-            for (auto layer : *negativeZOrderList)
</del><ins>+            for (auto* layer : *negativeZOrderList)
</ins><span class="cx">                 m_has3DTransformedDescendant |= layer-&gt;update3DTransformedDescendantStatus();
</span><span class="cx">         }
</span><span class="cx">         
</span><span class="lines">@@ -3850,7 +3850,7 @@
</span><span class="cx">         request.key-&gt;setOverlapTestResult(true);
</span><span class="cx">         overlappedRequestClients.append(request.key);
</span><span class="cx">     }
</span><del>-    for (auto client : overlappedRequestClients)
</del><ins>+    for (auto* client : overlappedRequestClients)
</ins><span class="cx">         overlapTestRequests.remove(client);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -4207,7 +4207,7 @@
</span><span class="cx">     renderer().view().flowThreadController().collectFixedPositionedLayers(fixedLayers);
</span><span class="cx"> 
</span><span class="cx">     // Paint the layers
</span><del>-    for (auto fixedLayer : fixedLayers)
</del><ins>+    for (auto* fixedLayer : fixedLayers)
</ins><span class="cx">         fixedLayer-&gt;paintLayer(context, paintingInfo, paintFlags);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -4430,7 +4430,7 @@
</span><span class="cx">     LayerListMutationDetector mutationChecker(this);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    for (auto childLayer : *list) {
</del><ins>+    for (auto* childLayer : *list) {
</ins><span class="cx">         if (childLayer-&gt;isFlowThreadCollectingGraphicsLayersUnderRegions())
</span><span class="cx">             continue;
</span><span class="cx">         childLayer-&gt;paintLayer(context, paintingInfo, paintFlags);
</span><span class="lines">@@ -5974,7 +5974,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     if (Vector&lt;RenderLayer*&gt;* negZOrderList = this-&gt;negZOrderList()) {
</span><del>-        for (auto curLayer : *negZOrderList) {
</del><ins>+        for (auto* curLayer : *negZOrderList) {
</ins><span class="cx">             if (flags &amp; IncludeCompositedDescendants || !curLayer-&gt;isComposited()) {
</span><span class="cx">                 LayoutRect childUnionBounds = curLayer-&gt;calculateLayerBounds(this, curLayer-&gt;offsetFromAncestor(this), descendantFlags);
</span><span class="cx">                 unionBounds.unite(childUnionBounds);
</span><span class="lines">@@ -5983,7 +5983,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (Vector&lt;RenderLayer*&gt;* posZOrderList = this-&gt;posZOrderList()) {
</span><del>-        for (auto curLayer : *posZOrderList) {
</del><ins>+        for (auto* curLayer : *posZOrderList) {
</ins><span class="cx">             // The RenderNamedFlowThread is ignored when we calculate the bounds of the RenderView.
</span><span class="cx">             if ((flags &amp; IncludeCompositedDescendants || !curLayer-&gt;isComposited()) &amp;&amp; !curLayer-&gt;isFlowThreadCollectingGraphicsLayersUnderRegions()) {
</span><span class="cx">                 LayoutRect childUnionBounds = curLayer-&gt;calculateLayerBounds(this, curLayer-&gt;offsetFromAncestor(this), descendantFlags);
</span><span class="lines">@@ -5993,7 +5993,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (Vector&lt;RenderLayer*&gt;* normalFlowList = this-&gt;normalFlowList()) {
</span><del>-        for (auto curLayer : *normalFlowList) {
</del><ins>+        for (auto* curLayer : *normalFlowList) {
</ins><span class="cx">             // RenderView will always return the size of the document, before reaching this point,
</span><span class="cx">             // so there's no way we could hit a RenderNamedFlowThread here.
</span><span class="cx">             ASSERT(!curLayer-&gt;isFlowThreadCollectingGraphicsLayersUnderRegions());
</span><span class="lines">@@ -6348,24 +6348,24 @@
</span><span class="cx">     
</span><span class="cx">     if (isStackingContainer()) {
</span><span class="cx">         if (Vector&lt;RenderLayer*&gt;* list = negZOrderList()) {
</span><del>-            for (auto childLayer : *list)
</del><ins>+            for (auto* childLayer : *list)
</ins><span class="cx">                 layersToUpdate.append(childLayer);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     if (Vector&lt;RenderLayer*&gt;* list = normalFlowList()) {
</span><del>-        for (auto childLayer : *list)
</del><ins>+        for (auto* childLayer : *list)
</ins><span class="cx">             layersToUpdate.append(childLayer);
</span><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     if (isStackingContainer()) {
</span><span class="cx">         if (Vector&lt;RenderLayer*&gt;* list = posZOrderList()) {
</span><del>-            for (auto childLayer : *list)
</del><ins>+            for (auto* childLayer : *list)
</ins><span class="cx">                 layersToUpdate.append(childLayer);
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx">     
</span><del>-    for (auto childLayer : layersToUpdate) {
</del><ins>+    for (auto* childLayer : layersToUpdate) {
</ins><span class="cx">         childLayer-&gt;updateLayerListsIfNeeded();
</span><span class="cx">         if (recursive)
</span><span class="cx">             childLayer-&gt;updateDescendantsLayerListsIfNeeded(true);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderObject.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderObject.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderObject.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1712,7 +1712,7 @@
</span><span class="cx">     // If we hit the anonymous renderers inside generated content we should
</span><span class="cx">     // actually hit the generated content so walk up to the PseudoElement.
</span><span class="cx">     if (!node &amp;&amp; parent() &amp;&amp; parent()-&gt;isBeforeOrAfterContent()) {
</span><del>-        for (auto renderer = parent(); renderer &amp;&amp; !node; renderer = renderer-&gt;parent())
</del><ins>+        for (auto* renderer = parent(); renderer &amp;&amp; !node; renderer = renderer-&gt;parent())
</ins><span class="cx">             node = renderer-&gt;element();
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextLineBoxescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTextLineBoxes.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTextLineBoxes.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderTextLineBoxes.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">     if (box.prevTextBox())
</span><span class="cx">         box.prevTextBox()-&gt;setNextTextBox(nullptr);
</span><span class="cx">     box.setPreviousTextBox(nullptr);
</span><del>-    for (auto current = &amp;box; current; current = current-&gt;nextTextBox())
</del><ins>+    for (auto* current = &amp;box; current; current = current-&gt;nextTextBox())
</ins><span class="cx">         current-&gt;setExtracted();
</span><span class="cx"> 
</span><span class="cx">     checkConsistency();
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx">     } else
</span><span class="cx">         m_first = &amp;box;
</span><span class="cx">     InlineTextBox* last = nullptr;
</span><del>-    for (auto current = &amp;box; current; current = current-&gt;nextTextBox()) {
</del><ins>+    for (auto* current = &amp;box; current; current = current-&gt;nextTextBox()) {
</ins><span class="cx">         current-&gt;setExtracted(false);
</span><span class="cx">         last = current;
</span><span class="cx">     }
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx">             renderer.parent()-&gt;dirtyLinesFromChangedChild(renderer);
</span><span class="cx">         return;
</span><span class="cx">     }
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox())
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox())
</ins><span class="cx">         box-&gt;removeFromParent();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -121,7 +121,7 @@
</span><span class="cx">     if (!m_first)
</span><span class="cx">         return;
</span><span class="cx">     InlineTextBox* next;
</span><del>-    for (auto current = m_first; current; current = next) {
</del><ins>+    for (auto* current = m_first; current; current = next) {
</ins><span class="cx">         next = current-&gt;nextTextBox();
</span><span class="cx">         delete current;
</span><span class="cx">     }
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx">     // Return the width of the minimal left side and the maximal right side.
</span><span class="cx">     float logicalLeftSide = 0;
</span><span class="cx">     float logicalRightSide = 0;
</span><del>-    for (auto current = m_first; current; current = current-&gt;nextTextBox()) {
</del><ins>+    for (auto* current = m_first; current; current = current-&gt;nextTextBox()) {
</ins><span class="cx">         if (current == m_first || current-&gt;logicalLeft() &lt; logicalLeftSide)
</span><span class="cx">             logicalLeftSide = current-&gt;logicalLeft();
</span><span class="cx">         if (current == m_first || current-&gt;logicalRight() &gt; logicalRightSide)
</span><span class="lines">@@ -184,7 +184,7 @@
</span><span class="cx">     // Return the width of the minimal left side and the maximal right side.
</span><span class="cx">     auto logicalLeftSide = LayoutUnit::max();
</span><span class="cx">     auto logicalRightSide = LayoutUnit::min();
</span><del>-    for (auto current = m_first; current; current = current-&gt;nextTextBox()) {
</del><ins>+    for (auto* current = m_first; current; current = current-&gt;nextTextBox()) {
</ins><span class="cx">         logicalLeftSide = std::min(logicalLeftSide, current-&gt;logicalLeftVisualOverflow());
</span><span class="cx">         logicalRightSide = std::max(logicalRightSide, current-&gt;logicalRightVisualOverflow());
</span><span class="cx">     }
</span><span class="lines">@@ -201,7 +201,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool RenderTextLineBoxes::hasRenderedText() const
</span><span class="cx"> {
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         if (box-&gt;len())
</span><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool RenderTextLineBoxes::containsOffset(const RenderText&amp; renderer, unsigned offset, OffsetType type) const
</span><span class="cx"> {
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         if (offset &lt; box-&gt;start() &amp;&amp; !renderer.containsReversedText())
</span><span class="cx">             return false;
</span><span class="cx">         unsigned boxEnd = box-&gt;start() + box-&gt;len();
</span><span class="lines">@@ -252,7 +252,7 @@
</span><span class="cx"> unsigned RenderTextLineBoxes::countCharacterOffsetsUntil(unsigned offset) const
</span><span class="cx"> {
</span><span class="cx">     unsigned result = 0;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         if (offset &lt; box-&gt;start())
</span><span class="cx">             return result;
</span><span class="cx">         if (offset &lt;= box-&gt;start() + box-&gt;len()) {
</span><span class="lines">@@ -402,7 +402,7 @@
</span><span class="cx">     bool blocksAreFlipped = renderer.style().isFlippedBlocksWritingMode();
</span><span class="cx"> 
</span><span class="cx">     InlineTextBox* lastBox = nullptr;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         if (box-&gt;isLineBreak() &amp;&amp; !box-&gt;prevLeafChild() &amp;&amp; box-&gt;nextLeafChild() &amp;&amp; !box-&gt;nextLeafChild()-&gt;isLineBreak())
</span><span class="cx">             box = box-&gt;nextTextBox();
</span><span class="cx"> 
</span><span class="lines">@@ -440,7 +440,7 @@
</span><span class="cx"> void RenderTextLineBoxes::setSelectionState(RenderText&amp; renderer, RenderObject::SelectionState state)
</span><span class="cx"> {
</span><span class="cx">     if (state == RenderObject::SelectionInside || state == RenderObject::SelectionNone) {
</span><del>-        for (auto box = m_first; box; box = box-&gt;nextTextBox())
</del><ins>+        for (auto* box = m_first; box; box = box-&gt;nextTextBox())
</ins><span class="cx">             box-&gt;root().setHasSelectedChildren(state == RenderObject::SelectionInside);
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -456,7 +456,7 @@
</span><span class="cx">     } else if (state == RenderObject::SelectionEnd)
</span><span class="cx">         start = 0;
</span><span class="cx"> 
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         if (box-&gt;isSelected(start, end))
</span><span class="cx">             box-&gt;root().setHasSelectedChildren(true);
</span><span class="cx">     }
</span><span class="lines">@@ -487,7 +487,7 @@
</span><span class="cx"> LayoutRect RenderTextLineBoxes::selectionRectForRange(unsigned start, unsigned end)
</span><span class="cx"> {
</span><span class="cx">     LayoutRect rect;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         rect.unite(box-&gt;localSelectionRect(start, end));
</span><span class="cx">         rect.unite(ellipsisRectForBox(*box, start, end));
</span><span class="cx">     }
</span><span class="lines">@@ -496,7 +496,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderTextLineBoxes::collectSelectionRectsForRange(unsigned start, unsigned end, Vector&lt;LayoutRect&gt;&amp; rects)
</span><span class="cx"> {
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         LayoutRect rect;
</span><span class="cx">         rect.unite(box-&gt;localSelectionRect(start, end));
</span><span class="cx">         rect.unite(ellipsisRectForBox(*box, start, end));
</span><span class="lines">@@ -508,7 +508,7 @@
</span><span class="cx"> Vector&lt;IntRect&gt; RenderTextLineBoxes::absoluteRects(const LayoutPoint&amp; accumulatedOffset) const
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;IntRect&gt; rects;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox())
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox())
</ins><span class="cx">         rects.append(enclosingIntRect(FloatRect(accumulatedOffset + box-&gt;topLeft(), box-&gt;size())));
</span><span class="cx">     return rects;
</span><span class="cx"> }
</span><span class="lines">@@ -536,7 +536,7 @@
</span><span class="cx"> Vector&lt;IntRect&gt; RenderTextLineBoxes::absoluteRectsForRange(const RenderText&amp; renderer, unsigned start, unsigned end, bool useSelectionHeight, bool* wasFixed) const
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;IntRect&gt; rects;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         // Note: box-&gt;end() returns the index of the last character, not the index past it
</span><span class="cx">         if (start &lt;= box-&gt;start() &amp;&amp; box-&gt;end() &lt; end) {
</span><span class="cx">             FloatRect boundaries = box-&gt;calculateBoundaries();
</span><span class="lines">@@ -564,7 +564,7 @@
</span><span class="cx"> Vector&lt;FloatQuad&gt; RenderTextLineBoxes::absoluteQuads(const RenderText&amp; renderer, bool* wasFixed, ClippingOption option) const
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;FloatQuad&gt; quads;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         FloatRect boundaries = box-&gt;calculateBoundaries();
</span><span class="cx"> 
</span><span class="cx">         // Shorten the width of this text box if it ends in an ellipsis.
</span><span class="lines">@@ -584,7 +584,7 @@
</span><span class="cx"> Vector&lt;FloatQuad&gt; RenderTextLineBoxes::absoluteQuadsForRange(const RenderText&amp; renderer, unsigned start, unsigned end, bool useSelectionHeight, bool* wasFixed) const
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;FloatQuad&gt; quads;
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox()) {
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">         // Note: box-&gt;end() returns the index of the last character, not the index past it
</span><span class="cx">         if (start &lt;= box-&gt;start() &amp;&amp; box-&gt;end() &lt; end) {
</span><span class="cx">             FloatRect boundaries = box-&gt;calculateBoundaries();
</span><span class="lines">@@ -610,7 +610,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderTextLineBoxes::dirtyAll()
</span><span class="cx"> {
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox())
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox())
</ins><span class="cx">         box-&gt;dirtyLineBoxes();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -621,7 +621,7 @@
</span><span class="cx"> 
</span><span class="cx">     // Dirty all text boxes that include characters in between offset and offset+len.
</span><span class="cx">     bool dirtiedLines = false;
</span><del>-    for (auto current = m_first; current; current = current-&gt;nextTextBox()) {
</del><ins>+    for (auto* current = m_first; current; current = current-&gt;nextTextBox()) {
</ins><span class="cx">         // FIXME: This shouldn't rely on the end of a dirty line box. See https://bugs.webkit.org/show_bug.cgi?id=97264
</span><span class="cx">         // Text run is entirely before the affected range.
</span><span class="cx">         if (current-&gt;end() &lt; start)
</span><span class="lines">@@ -675,7 +675,7 @@
</span><span class="cx">         firstRootBox-&gt;markDirty();
</span><span class="cx">         dirtiedLines = true;
</span><span class="cx">     }
</span><del>-    for (auto current = firstRootBox; current &amp;&amp; current != lastRootBox; current = current-&gt;nextRootBox()) {
</del><ins>+    for (auto* current = firstRootBox; current &amp;&amp; current != lastRootBox; current = current-&gt;nextRootBox()) {
</ins><span class="cx">         if (current-&gt;lineBreakObj() == &amp;renderer &amp;&amp; current-&gt;lineBreakPos() &gt; end)
</span><span class="cx">             current-&gt;setLineBreakPos(current-&gt;lineBreakPos() + lengthDelta);
</span><span class="cx">     }
</span><span class="lines">@@ -693,7 +693,7 @@
</span><span class="cx"> #if !ASSERT_DISABLED
</span><span class="cx"> #ifdef CHECK_CONSISTENCY
</span><span class="cx">     const InlineTextBox* prev = nullptr;
</span><del>-    for (auto child = m_first; child; child = child-&gt;nextTextBox()) {
</del><ins>+    for (auto* child = m_first; child; child = child-&gt;nextTextBox()) {
</ins><span class="cx">         ASSERT(child-&gt;renderer() == this);
</span><span class="cx">         ASSERT(child-&gt;prevTextBox() == prev);
</span><span class="cx">         prev = child;
</span><span class="lines">@@ -714,7 +714,7 @@
</span><span class="cx"> #if !ASSERT_WITH_SECURITY_IMPLICATION_DISABLED
</span><span class="cx"> void RenderTextLineBoxes::invalidateParentChildLists()
</span><span class="cx"> {
</span><del>-    for (auto box = m_first; box; box = box-&gt;nextTextBox())
</del><ins>+    for (auto* box = m_first; box; box = box-&gt;nextTextBox())
</ins><span class="cx">         box-&gt;invalidateParentChildList();
</span><span class="cx"> }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTreeAsTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTreeAsText.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTreeAsText.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/RenderTreeAsText.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -549,7 +549,7 @@
</span><span class="cx">                 writeSimpleLine(ts, text, run.rect(), run.text());
</span><span class="cx">             }
</span><span class="cx">         } else {
</span><del>-            for (auto box = text.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</del><ins>+            for (auto* box = text.firstTextBox(); box; box = box-&gt;nextTextBox()) {
</ins><span class="cx">                 writeIndent(ts, indent + 1);
</span><span class="cx">                 writeTextRun(ts, text, *box);
</span><span class="cx">             }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGTextMetricsBuildercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/rendering/svg/SVGTextMetricsBuilder.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -176,7 +176,7 @@
</span><span class="cx"> 
</span><span class="cx"> void SVGTextMetricsBuilder::walkTree(RenderElement&amp; start, RenderSVGInlineText* stopAtLeaf, MeasureTextData* data)
</span><span class="cx"> {
</span><del>-    for (auto child = start.firstChild(); child; child = child-&gt;nextSibling()) {
</del><ins>+    for (auto* child = start.firstChild(); child; child = child-&gt;nextSibling()) {
</ins><span class="cx">         if (is&lt;RenderSVGInlineText&gt;(*child)) {
</span><span class="cx">             RenderSVGInlineText&amp; text = downcast&lt;RenderSVGInlineText&gt;(*child);
</span><span class="cx">             if (stopAtLeaf &amp;&amp; stopAtLeaf != &amp;text) {
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSVGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSVGElement.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSVGElement.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebCore/svg/SVGSVGElement.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -676,7 +676,7 @@
</span><span class="cx">     if (element &amp;&amp; element-&gt;isDescendantOf(this))
</span><span class="cx">         return element;
</span><span class="cx">     if (treeScope().containsMultipleElementsWithId(id)) {
</span><del>-        for (auto element : *treeScope().getAllElementsById(id)) {
</del><ins>+        for (auto* element : *treeScope().getAllElementsById(id)) {
</ins><span class="cx">             if (element-&gt;isDescendantOf(this))
</span><span class="cx">                 return element;
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2015-10-13  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Avoid useless copies in range-loops that are using 'auto'
+        https://bugs.webkit.org/show_bug.cgi?id=150091
+
+        Reviewed by Sam Weinig.
+
+        Avoid useless copies in range-loops that are using 'auto'. Also use
+        'auto*' instead of 'auto' when range values are pointers for clarity.
+
+        * WebView/WebFrame.mm:
+        (-[WebFrame getDictationResultRanges:andMetadatas:]):
+
</ins><span class="cx"> 2015-10-09  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Don't allow plug-ins to override image types for &lt;embed&gt; elements
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebFramemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebFrame.mm (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebFrame.mm        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit/mac/WebView/WebFrame.mm        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1720,7 +1720,7 @@
</span><span class="cx">     
</span><span class="cx">     for (Node* node = root; node; node = NodeTraversal::next(*node)) {
</span><span class="cx">         auto markers = document-&gt;markers().markersFor(node);
</span><del>-        for (auto marker : markers) {
</del><ins>+        for (auto* marker : markers) {
</ins><span class="cx"> 
</span><span class="cx">             if (marker-&gt;type() != DocumentMarker::DictationResult)
</span><span class="cx">                 continue;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit2/ChangeLog        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2015-10-13  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Avoid useless copies in range-loops that are using 'auto'
+        https://bugs.webkit.org/show_bug.cgi?id=150091
+
+        Reviewed by Sam Weinig.
+
+        Avoid useless copies in range-loops that are using 'auto'. Also use
+        'auto*' instead of 'auto' when range values are pointers for clarity.
+
+        * UIProcess/VisitedLinkStore.cpp:
+        (WebKit::VisitedLinkStore::pendingVisitedLinksTimerFired):
+        (WebKit::VisitedLinkStore::resizeTable):
+        * UIProcess/WebProcessProxy.cpp:
+        (WebKit::WebProcessProxy::releaseRemainingIconsForPageURLs):
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+        (WebKit::WebsiteDataStore::fetchData):
+        (WebKit::WebsiteDataStore::removeData):
+        (WebKit::WebsiteDataStore::plugins):
+
</ins><span class="cx"> 2015-10-13  Said Abou-Hallawa  &lt;sabouhallawa@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add debug settings for using giant tiles (4096x4096)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessVisitedLinkStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/VisitedLinkStore.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/VisitedLinkStore.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit2/UIProcess/VisitedLinkStore.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -178,10 +178,10 @@
</span><span class="cx"> 
</span><span class="cx">     Vector&lt;WebCore::LinkHash&gt; addedVisitedLinks;
</span><span class="cx"> 
</span><del>-    for (auto linkHash : m_pendingVisitedLinks) {
</del><ins>+    for (auto&amp; linkHash : m_pendingVisitedLinks) {
</ins><span class="cx">         if (m_table.addLinkHash(linkHash)) {
</span><span class="cx">             addedVisitedLinks.append(linkHash);
</span><del>-            m_keyCount++;
</del><ins>+            ++m_keyCount;
</ins><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    for (auto linkHash : m_pendingVisitedLinks) {
</del><ins>+    for (auto&amp; linkHash : m_pendingVisitedLinks) {
</ins><span class="cx">         if (m_table.addLinkHash(linkHash))
</span><span class="cx">             m_keyCount++;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -479,10 +479,10 @@
</span><span class="cx">     if (!iconDatabase)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    for (auto iter : m_pageURLRetainCountMap) {
-        uint64_t count = iter.value;
</del><ins>+    for (auto&amp; entry : m_pageURLRetainCountMap) {
+        uint64_t count = entry.value;
</ins><span class="cx">         for (uint64_t i = 0; i &lt; count; ++i)
</span><del>-            iconDatabase-&gt;releaseIconForPageURL(iter.key);
</del><ins>+            iconDatabase-&gt;releaseIconForPageURL(entry.key);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     m_pageURLRetainCountMap.clear();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -244,7 +244,7 @@
</span><span class="cx"> 
</span><span class="cx">     auto networkProcessAccessType = computeNetworkProcessAccessTypeForDataFetch(dataTypes, !isPersistent());
</span><span class="cx">     if (networkProcessAccessType != ProcessAccessType::None) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             switch (networkProcessAccessType) {
</span><span class="cx">             case ProcessAccessType::OnlyIfLaunched:
</span><span class="cx">                 if (!processPool-&gt;networkProcess())
</span><span class="lines">@@ -360,7 +360,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(DATABASE_PROCESS)
</span><span class="cx">     if (dataTypes &amp; WebsiteDataTypeIndexedDBDatabases &amp;&amp; isPersistent()) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             processPool-&gt;ensureDatabaseProcess();
</span><span class="cx"> 
</span><span class="cx">             callbackAggregator-&gt;addPendingCallback();
</span><span class="lines">@@ -512,7 +512,7 @@
</span><span class="cx"> 
</span><span class="cx">     auto networkProcessAccessType = computeNetworkProcessAccessTypeForDataRemoval(dataTypes, !isPersistent());
</span><span class="cx">     if (networkProcessAccessType != ProcessAccessType::None) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             switch (networkProcessAccessType) {
</span><span class="cx">             case ProcessAccessType::OnlyIfLaunched:
</span><span class="cx">                 if (!processPool-&gt;networkProcess())
</span><span class="lines">@@ -607,7 +607,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(DATABASE_PROCESS)
</span><span class="cx">     if (dataTypes &amp; WebsiteDataTypeIndexedDBDatabases &amp;&amp; isPersistent()) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             processPool-&gt;ensureDatabaseProcess();
</span><span class="cx"> 
</span><span class="cx">             callbackAggregator-&gt;addPendingCallback();
</span><span class="lines">@@ -727,7 +727,7 @@
</span><span class="cx"> 
</span><span class="cx">     auto networkProcessAccessType = computeNetworkProcessAccessTypeForDataRemoval(dataTypes, !isPersistent());
</span><span class="cx">     if (networkProcessAccessType != ProcessAccessType::None) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             switch (networkProcessAccessType) {
</span><span class="cx">             case ProcessAccessType::OnlyIfLaunched:
</span><span class="cx">                 if (!processPool-&gt;networkProcess())
</span><span class="lines">@@ -843,7 +843,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(DATABASE_PROCESS)
</span><span class="cx">     if (dataTypes &amp; WebsiteDataTypeIndexedDBDatabases &amp;&amp; isPersistent()) {
</span><del>-        for (auto processPool : processPools()) {
</del><ins>+        for (auto&amp; processPool : processPools()) {
</ins><span class="cx">             processPool-&gt;ensureDatabaseProcess();
</span><span class="cx"> 
</span><span class="cx">             callbackAggregator-&gt;addPendingCallback();
</span><span class="lines">@@ -1001,7 +1001,7 @@
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;PluginModuleInfo&gt; plugins;
</span><span class="cx"> 
</span><del>-    for (auto processPool : processPools()) {
</del><ins>+    for (auto&amp; processPool : processPools()) {
</ins><span class="cx">         for (auto&amp; plugin : processPool-&gt;pluginInfoStore().plugins())
</span><span class="cx">             plugins.append(plugin);
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourcebmallocChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/bmalloc/ChangeLog (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/bmalloc/ChangeLog        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/bmalloc/ChangeLog        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2015-10-13  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Avoid useless copies in range-loops that are using 'auto'
+        https://bugs.webkit.org/show_bug.cgi?id=150091
+
+        Reviewed by Sam Weinig.
+
+        Avoid useless copies in range-loops that are using 'auto'. Also use
+        'auto*' instead of 'auto' when range values are pointers for clarity.
+
+        * bmalloc/Deallocator.cpp:
+        (bmalloc::Deallocator::processObjectLog):
+
</ins><span class="cx"> 2015-10-12  Geoffrey Garen  &lt;ggaren@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         bmalloc: Don't ASSERT that all syscalls succeed
</span></span></pre></div>
<a id="trunkSourcebmallocbmallocDeallocatorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/bmalloc/bmalloc/Deallocator.cpp (191001 => 191002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/bmalloc/bmalloc/Deallocator.cpp        2015-10-13 19:03:46 UTC (rev 191001)
+++ trunk/Source/bmalloc/bmalloc/Deallocator.cpp        2015-10-13 19:15:55 UTC (rev 191002)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx">     std::lock_guard&lt;StaticMutex&gt; lock(PerProcess&lt;Heap&gt;::mutex());
</span><span class="cx">     Heap* heap = PerProcess&lt;Heap&gt;::getFastCase();
</span><span class="cx">     
</span><del>-    for (auto object : m_objectLog) {
</del><ins>+    for (auto* object : m_objectLog) {
</ins><span class="cx">         if (isSmall(object)) {
</span><span class="cx">             SmallLine* line = SmallLine::get(object);
</span><span class="cx">             heap-&gt;derefSmallLine(lock, line);
</span></span></pre>
</div>
</div>

</body>
</html>