<rdar://problem/9365358> REGRESSION (WebKit2): When clicking in the page, Find overla...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2011 04:42:40 +0000 (04:42 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2011 04:42:40 +0000 (04:42 +0000)
Reviewed by Timothy Hatcher.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::hideFindUI): Do not fade out the overlay.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/FindController.cpp

index ae334269079cf69bc3d12480605988291f31410e..a5a31f9e7f7fca4e9c95383e3dd41f3e7994b916 100644 (file)
@@ -1,3 +1,12 @@
+2011-05-07  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Timothy Hatcher.
+
+        <rdar://problem/9365358> REGRESSION (WebKit2): When clicking in the page, Find overlay fades out instead of disappearing immediately
+
+        * WebProcess/WebPage/FindController.cpp:
+        (WebKit::FindController::hideFindUI): Do not fade out the overlay.
+
 2011-05-07  Dan Bernstein  <mitz@apple.com>
 
         Avoid copying a header file into the WebKit2 framework wrapper.
index bbaa96e2624848e716214862213d9335b9a2f6bd..a97c0568955036d1cb7cfa77e8d7fa040a9e6898 100644 (file)
@@ -153,7 +153,7 @@ void FindController::findString(const String& string, FindOptions options, unsig
 void FindController::hideFindUI()
 {
     if (m_findPageOverlay)
-        m_webPage->uninstallPageOverlay(m_findPageOverlay, true);
+        m_webPage->uninstallPageOverlay(m_findPageOverlay, false);
 
     hideFindIndicator();
 }