Title: [166978] trunk/Source/WebKit2
- Revision
- 166978
- Author
- timothy_hor...@apple.com
- Date
- 2014-04-08 16:40:43 -0700 (Tue, 08 Apr 2014)
Log Message
Unify and factor out page overlay implementations
https://bugs.webkit.org/show_bug.cgi?id=131353
Reviewed by Anders Carlsson.
* WebProcess/WebPage/PageOverlayController.cpp:
(WebKit::PageOverlayController::uninstallPageOverlay):
Don't turn fast scrolling back off unless the last overlay is removed.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (166977 => 166978)
--- trunk/Source/WebKit2/ChangeLog 2014-04-08 23:36:28 UTC (rev 166977)
+++ trunk/Source/WebKit2/ChangeLog 2014-04-08 23:40:43 UTC (rev 166978)
@@ -1,3 +1,14 @@
+2014-04-08 Tim Horton <timothy_hor...@apple.com>
+
+ Unify and factor out page overlay implementations
+ https://bugs.webkit.org/show_bug.cgi?id=131353
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebPage/PageOverlayController.cpp:
+ (WebKit::PageOverlayController::uninstallPageOverlay):
+ Don't turn fast scrolling back off unless the last overlay is removed.
+
2014-04-08 Anders Carlsson <ander...@apple.com>
Add a WKNavigationAction property indicating whether it resulted from processing a user gesture
Modified: trunk/Source/WebKit2/WebProcess/WebPage/PageOverlayController.cpp (166977 => 166978)
--- trunk/Source/WebKit2/WebProcess/WebPage/PageOverlayController.cpp 2014-04-08 23:36:28 UTC (rev 166977)
+++ trunk/Source/WebKit2/WebProcess/WebPage/PageOverlayController.cpp 2014-04-08 23:40:43 UTC (rev 166978)
@@ -102,6 +102,9 @@
ASSERT(overlayIndex != notFound);
m_pageOverlays.remove(overlayIndex);
+ if (!m_pageOverlays.isEmpty())
+ return;
+
#if ENABLE(ASYNC_SCROLLING)
if (Page* page = m_webPage->corePage()) {
if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordinator())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes