<!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>[169863] trunk/Source/WebKit2</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/169863">169863</a></dd>
<dt>Author</dt> <dd>timothy_horton@apple.com</dd>
<dt>Date</dt> <dd>2014-06-11 17:14:27 -0700 (Wed, 11 Jun 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove unused VisibleContentRectUpdateInfo update ID
https://bugs.webkit.org/show_bug.cgi?id=133777

Reviewed by Benjamin Poulain.

Remove some unused code.

* Shared/VisibleContentRectUpdateInfo.cpp:
(WebKit::VisibleContentRectUpdateInfo::encode):
(WebKit::VisibleContentRectUpdateInfo::decode):
* Shared/VisibleContentRectUpdateInfo.h:
(WebKit::VisibleContentRectUpdateInfo::VisibleContentRectUpdateInfo):
(WebKit::operator==):
(WebKit::VisibleContentRectUpdateInfo::updateID): Deleted.
* Shared/mac/RemoteLayerTreeTransaction.h:
(WebKit::RemoteLayerTreeTransaction::setLastVisibleContentRectUpdateID): Deleted.
(WebKit::RemoteLayerTreeTransaction::lastVisibleContentRectUpdateID): Deleted.
* Shared/mac/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::encode):
(WebKit::RemoteLayerTreeTransaction::decode):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::nextVisibleContentRectUpdateID): Deleted.
(WebKit::WebPageProxy::lastVisibleContentRectUpdateID): Deleted.
* UIProcess/ios/WKContentView.mm:
(-[WKContentView didUpdateVisibleRect:unobscuredRect:unobscuredRectInScrollViewCoordinates:scale:minimumScale:inStableState:isChangingObscuredInsetsInteractively:]):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::willCommitLayerTree):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::updateVisibleContentRects):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedVisibleContentRectUpdateInfocpp">trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedVisibleContentRectUpdateInfoh">trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.h</a></li>
<li><a href="#trunkSourceWebKit2SharedmacRemoteLayerTreeTransactionh">trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h</a></li>
<li><a href="#trunkSourceWebKit2SharedmacRemoteLayerTreeTransactionmm">trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxyh">trunk/Source/WebKit2/UIProcess/WebPageProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessiosWKContentViewmm">trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPageh">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm">trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/ChangeLog        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -1,3 +1,37 @@
</span><ins>+2014-06-11  Timothy Horton  &lt;timothy_horton@apple.com&gt;
+
+        Remove unused VisibleContentRectUpdateInfo update ID
+        https://bugs.webkit.org/show_bug.cgi?id=133777
+
+        Reviewed by Benjamin Poulain.
+
+        Remove some unused code.
+
+        * Shared/VisibleContentRectUpdateInfo.cpp:
+        (WebKit::VisibleContentRectUpdateInfo::encode):
+        (WebKit::VisibleContentRectUpdateInfo::decode):
+        * Shared/VisibleContentRectUpdateInfo.h:
+        (WebKit::VisibleContentRectUpdateInfo::VisibleContentRectUpdateInfo):
+        (WebKit::operator==):
+        (WebKit::VisibleContentRectUpdateInfo::updateID): Deleted.
+        * Shared/mac/RemoteLayerTreeTransaction.h:
+        (WebKit::RemoteLayerTreeTransaction::setLastVisibleContentRectUpdateID): Deleted.
+        (WebKit::RemoteLayerTreeTransaction::lastVisibleContentRectUpdateID): Deleted.
+        * Shared/mac/RemoteLayerTreeTransaction.mm:
+        (WebKit::RemoteLayerTreeTransaction::encode):
+        (WebKit::RemoteLayerTreeTransaction::decode):
+        * UIProcess/WebPageProxy.h:
+        (WebKit::WebPageProxy::nextVisibleContentRectUpdateID): Deleted.
+        (WebKit::WebPageProxy::lastVisibleContentRectUpdateID): Deleted.
+        * UIProcess/ios/WKContentView.mm:
+        (-[WKContentView didUpdateVisibleRect:unobscuredRect:unobscuredRectInScrollViewCoordinates:scale:minimumScale:inStableState:isChangingObscuredInsetsInteractively:]):
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::WebPage):
+        (WebKit::WebPage::willCommitLayerTree):
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebPage/ios/WebPageIOS.mm:
+        (WebKit::WebPage::updateVisibleContentRects):
+
</ins><span class="cx"> 2014-06-11  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Cocoa] Move CompletionHandlerCallChecker into a separate file
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedVisibleContentRectUpdateInfocpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.cpp (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.cpp        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.cpp        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -37,7 +37,6 @@
</span><span class="cx">     encoder &lt;&lt; m_unobscuredRectInScrollViewCoordinates;
</span><span class="cx">     encoder &lt;&lt; m_customFixedPositionRect;
</span><span class="cx">     encoder &lt;&lt; m_scale;
</span><del>-    encoder &lt;&lt; m_updateID;
</del><span class="cx">     encoder &lt;&lt; m_inStableState;
</span><span class="cx">     encoder &lt;&lt; m_isChangingObscuredInsetsInteractively;
</span><span class="cx">     encoder &lt;&lt; m_timestamp;
</span><span class="lines">@@ -58,8 +57,6 @@
</span><span class="cx">         return false;
</span><span class="cx">     if (!decoder.decode(result.m_scale))
</span><span class="cx">         return false;
</span><del>-    if (!decoder.decode(result.m_updateID))
-        return false;
</del><span class="cx">     if (!decoder.decode(result.m_inStableState))
</span><span class="cx">         return false;
</span><span class="cx">     if (!decoder.decode(result.m_isChangingObscuredInsetsInteractively))
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedVisibleContentRectUpdateInfoh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.h (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.h        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/Shared/VisibleContentRectUpdateInfo.h        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -39,19 +39,17 @@
</span><span class="cx"> public:
</span><span class="cx">     VisibleContentRectUpdateInfo()
</span><span class="cx">         : m_scale(-1)
</span><del>-        , m_updateID(0)
</del><span class="cx">         , m_inStableState(false)
</span><span class="cx">         , m_isChangingObscuredInsetsInteractively(false)
</span><span class="cx">     {
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    VisibleContentRectUpdateInfo(uint64_t updateID, const WebCore::FloatRect&amp; exposedRect, const WebCore::FloatRect&amp; unobscuredRect, const WebCore::FloatRect&amp; unobscuredRectInScrollViewCoordinates, const WebCore::FloatRect&amp; customFixedPositionRect, double scale, bool inStableState, bool isChangingObscuredInsetsInteractively, double timestamp, double horizontalVelocity, double verticalVelocity, double scaleChangeRate)
</del><ins>+    VisibleContentRectUpdateInfo(const WebCore::FloatRect&amp; exposedRect, const WebCore::FloatRect&amp; unobscuredRect, const WebCore::FloatRect&amp; unobscuredRectInScrollViewCoordinates, const WebCore::FloatRect&amp; customFixedPositionRect, double scale, bool inStableState, bool isChangingObscuredInsetsInteractively, double timestamp, double horizontalVelocity, double verticalVelocity, double scaleChangeRate)
</ins><span class="cx">         : m_exposedRect(exposedRect)
</span><span class="cx">         , m_unobscuredRect(unobscuredRect)
</span><span class="cx">         , m_unobscuredRectInScrollViewCoordinates(unobscuredRectInScrollViewCoordinates)
</span><span class="cx">         , m_customFixedPositionRect(customFixedPositionRect)
</span><span class="cx">         , m_scale(scale)
</span><del>-        , m_updateID(updateID)
</del><span class="cx">         , m_inStableState(inStableState)
</span><span class="cx">         , m_isChangingObscuredInsetsInteractively(isChangingObscuredInsetsInteractively)
</span><span class="cx">         , m_timestamp(timestamp)
</span><span class="lines">@@ -66,7 +64,6 @@
</span><span class="cx">     const WebCore::FloatRect&amp; unobscuredRectInScrollViewCoordinates() const { return m_unobscuredRectInScrollViewCoordinates; }
</span><span class="cx">     const WebCore::FloatRect&amp; customFixedPositionRect() const { return m_customFixedPositionRect; }
</span><span class="cx">     double scale() const { return m_scale; }
</span><del>-    uint64_t updateID() const { return m_updateID; }
</del><span class="cx">     bool inStableState() const { return m_inStableState; }
</span><span class="cx">     bool isChangingObscuredInsetsInteractively() const { return m_isChangingObscuredInsetsInteractively; }
</span><span class="cx"> 
</span><span class="lines">@@ -84,7 +81,6 @@
</span><span class="cx">     WebCore::FloatRect m_unobscuredRectInScrollViewCoordinates;
</span><span class="cx">     WebCore::FloatRect m_customFixedPositionRect;
</span><span class="cx">     double m_scale;
</span><del>-    uint64_t m_updateID;
</del><span class="cx">     bool m_inStableState;
</span><span class="cx">     bool m_isChangingObscuredInsetsInteractively;
</span><span class="cx">     double m_timestamp;
</span><span class="lines">@@ -95,8 +91,7 @@
</span><span class="cx"> 
</span><span class="cx"> inline bool operator==(const VisibleContentRectUpdateInfo&amp; a, const VisibleContentRectUpdateInfo&amp; b)
</span><span class="cx"> {
</span><del>-    // Note: the comparison doesn't include updateID since we care about equality based on the other data.
-    // The timestamp and velocity are also irrelevant for comparing updates.
</del><ins>+    // Note: the comparison doesn't include timestamp and velocity since we care about equality based on the other data.
</ins><span class="cx">     return a.scale() == b.scale()
</span><span class="cx">         &amp;&amp; a.exposedRect() == b.exposedRect()
</span><span class="cx">         &amp;&amp; a.unobscuredRect() == b.unobscuredRect()
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedmacRemoteLayerTreeTransactionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -189,9 +189,6 @@
</span><span class="cx"> 
</span><span class="cx">     double pageScaleFactor() const { return m_pageScaleFactor; }
</span><span class="cx">     void setPageScaleFactor(double pageScaleFactor) { m_pageScaleFactor = pageScaleFactor; }
</span><del>-    
-    void setLastVisibleContentRectUpdateID(uint64_t lastVisibleContentRectUpdateID) { m_lastVisibleContentRectUpdateID = lastVisibleContentRectUpdateID; }
-    uint64_t lastVisibleContentRectUpdateID() const { return m_lastVisibleContentRectUpdateID; }
</del><span class="cx"> 
</span><span class="cx">     bool scaleWasSetByUIProcess() const { return m_scaleWasSetByUIProcess; }
</span><span class="cx">     void setScaleWasSetByUIProcess(bool scaleWasSetByUIProcess) { m_scaleWasSetByUIProcess = scaleWasSetByUIProcess; }
</span><span class="lines">@@ -223,7 +220,6 @@
</span><span class="cx">     double m_pageScaleFactor;
</span><span class="cx">     double m_minimumScaleFactor;
</span><span class="cx">     double m_maximumScaleFactor;
</span><del>-    uint64_t m_lastVisibleContentRectUpdateID;
</del><span class="cx">     uint64_t m_renderTreeSize;
</span><span class="cx">     bool m_scaleWasSetByUIProcess;
</span><span class="cx">     bool m_allowsUserScaling;
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedmacRemoteLayerTreeTransactionmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -460,7 +460,6 @@
</span><span class="cx">     encoder &lt;&lt; m_minimumScaleFactor;
</span><span class="cx">     encoder &lt;&lt; m_maximumScaleFactor;
</span><span class="cx"> 
</span><del>-    encoder &lt;&lt; m_lastVisibleContentRectUpdateID;
</del><span class="cx">     encoder &lt;&lt; m_renderTreeSize;
</span><span class="cx"> 
</span><span class="cx">     encoder &lt;&lt; m_scaleWasSetByUIProcess;
</span><span class="lines">@@ -527,9 +526,6 @@
</span><span class="cx">     if (!decoder.decode(result.m_maximumScaleFactor))
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    if (!decoder.decode(result.m_lastVisibleContentRectUpdateID))
-        return false;
-
</del><span class="cx">     if (!decoder.decode(result.m_renderTreeSize))
</span><span class="cx">         return false;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -592,8 +592,6 @@
</span><span class="cx">     const WebCore::FloatRect&amp; unobscuredContentRect() const { return m_lastVisibleContentRectUpdate.unobscuredRect(); }
</span><span class="cx"> 
</span><span class="cx">     bool updateVisibleContentRects(const VisibleContentRectUpdateInfo&amp;);
</span><del>-    uint64_t nextVisibleContentRectUpdateID() const { return m_lastVisibleContentRectUpdate.updateID() + 1; }
-    uint64_t lastVisibleContentRectUpdateID() const { return m_lastVisibleContentRectUpdate.updateID(); }
</del><span class="cx"> 
</span><span class="cx">     enum class UnobscuredRectConstraint { ConstrainedToDocumentRect, Unconstrained };
</span><span class="cx">     WebCore::FloatRect computeCustomFixedPositionRect(const WebCore::FloatRect&amp; unobscuredContentRect, double displayedContentScale, UnobscuredRectConstraint = UnobscuredRectConstraint::Unconstrained) const;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessiosWKContentViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -302,7 +302,7 @@
</span><span class="cx">         _historicalKinematicData.clear();
</span><span class="cx"> 
</span><span class="cx">     FloatRect fixedPositionRectForLayout = _page-&gt;computeCustomFixedPositionRect(unobscuredRect, zoomScale, WebPageProxy::UnobscuredRectConstraint::ConstrainedToDocumentRect);
</span><del>-    _page-&gt;updateVisibleContentRects(VisibleContentRectUpdateInfo(_page-&gt;nextVisibleContentRectUpdateID(), visibleRect, unobscuredRect, unobscuredRectInScrollViewCoordinates, fixedPositionRectForLayout,
</del><ins>+    _page-&gt;updateVisibleContentRects(VisibleContentRectUpdateInfo(visibleRect, unobscuredRect, unobscuredRectInScrollViewCoordinates, fixedPositionRectForLayout,
</ins><span class="cx">         zoomScale, isStableState, isChangingObscuredInsetsInteractively, timestamp, velocityData.horizontalVelocity, velocityData.verticalVelocity, velocityData.scaleChangeRate));
</span><span class="cx"> 
</span><span class="cx">     RemoteScrollingCoordinatorProxy* scrollingCoordinator = _page-&gt;scrollingCoordinatorProxy();
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -292,7 +292,6 @@
</span><span class="cx">     , m_isShowingContextMenu(false)
</span><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    , m_lastVisibleContentRectUpdateID(0)
</del><span class="cx">     , m_obscuredTopInset(0)
</span><span class="cx">     , m_hasReceivedVisibleContentRectsAfterDidCommitLoad(false)
</span><span class="cx">     , m_scaleWasSetByUIProcess(false)
</span><span class="lines">@@ -2787,7 +2786,6 @@
</span><span class="cx">     layerTransaction.setRenderTreeSize(corePage()-&gt;renderTreeSize());
</span><span class="cx">     layerTransaction.setPageExtendedBackgroundColor(corePage()-&gt;pageExtendedBackgroundColor());
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    layerTransaction.setLastVisibleContentRectUpdateID(m_lastVisibleContentRectUpdateID);
</del><span class="cx">     layerTransaction.setScaleWasSetByUIProcess(scaleWasSetByUIProcess());
</span><span class="cx">     layerTransaction.setMinimumScaleFactor(minimumPageScaleFactor());
</span><span class="cx">     layerTransaction.setMaximumScaleFactor(maximumPageScaleFactor());
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -1214,7 +1214,6 @@
</span><span class="cx">     WebCore::FloatPoint m_potentialTapLocation;
</span><span class="cx"> 
</span><span class="cx">     WebCore::ViewportConfiguration m_viewportConfiguration;
</span><del>-    uint64_t m_lastVisibleContentRectUpdateID;
</del><span class="cx">     float m_obscuredTopInset;
</span><span class="cx">     bool m_hasReceivedVisibleContentRectsAfterDidCommitLoad;
</span><span class="cx">     bool m_scaleWasSetByUIProcess;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm (169862 => 169863)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2014-06-12 00:14:21 UTC (rev 169862)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2014-06-12 00:14:27 UTC (rev 169863)
</span><span class="lines">@@ -2295,7 +2295,6 @@
</span><span class="cx"> void WebPage::updateVisibleContentRects(const VisibleContentRectUpdateInfo&amp; visibleContentRectUpdateInfo)
</span><span class="cx"> {
</span><span class="cx">     m_hasReceivedVisibleContentRectsAfterDidCommitLoad = true;
</span><del>-    m_lastVisibleContentRectUpdateID = visibleContentRectUpdateInfo.updateID();
</del><span class="cx">     m_obscuredTopInset = (visibleContentRectUpdateInfo.unobscuredRect().y() - visibleContentRectUpdateInfo.exposedRect().y()) * visibleContentRectUpdateInfo.scale();
</span><span class="cx"> 
</span><span class="cx">     double scaleNoiseThreshold = 0.005;
</span></span></pre>
</div>
</div>

</body>
</html>