Title: [171209] trunk/Source/WebKit2
- Revision
- 171209
- Author
- [email protected]
- Date
- 2014-07-17 18:16:40 -0700 (Thu, 17 Jul 2014)
Log Message
[iOS][WK2] Fix the updateVisibleContentRects synchronization for load after r171154
https://bugs.webkit.org/show_bug.cgi?id=135036
Patch by Benjamin Poulain <[email protected]> on 2014-07-17
Reviewed by Dan Bernstein.
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::updateVisibleContentRects):
I forgot to update one of the condition after changing from lastTransaction to next transaction
in r171154.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (171208 => 171209)
--- trunk/Source/WebKit2/ChangeLog 2014-07-17 23:59:52 UTC (rev 171208)
+++ trunk/Source/WebKit2/ChangeLog 2014-07-18 01:16:40 UTC (rev 171209)
@@ -1,3 +1,15 @@
+2014-07-17 Benjamin Poulain <[email protected]>
+
+ [iOS][WK2] Fix the updateVisibleContentRects synchronization for load after r171154
+ https://bugs.webkit.org/show_bug.cgi?id=135036
+
+ Reviewed by Dan Bernstein.
+
+ * WebProcess/WebPage/ios/WebPageIOS.mm:
+ (WebKit::WebPage::updateVisibleContentRects):
+ I forgot to update one of the condition after changing from lastTransaction to next transaction
+ in r171154.
+
2014-07-17 Enrica Casucci <[email protected]>
[REGRESSION WK2]The menu bar does not show up when tapping on the caret.
Modified: trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm (171208 => 171209)
--- trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm 2014-07-17 23:59:52 UTC (rev 171208)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm 2014-07-18 01:16:40 UTC (rev 171209)
@@ -2440,7 +2440,7 @@
void WebPage::updateVisibleContentRects(const VisibleContentRectUpdateInfo& visibleContentRectUpdateInfo)
{
// Skip any VisibleContentRectUpdate that have been queued before DidCommitLoad suppresses the updates in the UIProcess.
- if (visibleContentRectUpdateInfo.lastLayerTreeTransactionID() <= m_firstLayerTreeTransactionIDAfterDidCommitLoad)
+ if (visibleContentRectUpdateInfo.lastLayerTreeTransactionID() < m_firstLayerTreeTransactionIDAfterDidCommitLoad)
return;
m_hasReceivedVisibleContentRectsAfterDidCommitLoad = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes