[haiku-webkit-commits] r376 - webkit/trunk/WebKit/haiku/WebCoreSupport

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Fri, 02 Apr 2010 23:32:41 +0000

Author: stippi
Date: Fri Apr  2 23:32:40 2010
New Revision: 376
URL: http://mmlr.dyndns.org/changeset/376

Log:
Call HideToolTip() before attempting to change the tool tip via SetToolTip().
This works around a bug in the BView tooltip implementation.

Modified:
   webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp

Modified: webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp      Fri Apr 
 2 23:22:55 2010        (r375)
+++ webkit/trunk/WebKit/haiku/WebCoreSupport/ChromeClientHaiku.cpp      Fri Apr 
 2 23:32:40 2010        (r376)
@@ -365,6 +365,9 @@
     if (!m_webView->LockLooper())
         return;
 
+       // TODO: Unless HideToolTip() is called here, changing the tool tip has 
no
+       // effect in BView. Remove when BView is fixed.
+       m_webView->HideToolTip();
     if (!tip.length())
         m_webView->SetToolTip(reinterpret_cast<BToolTip*>(NULL));
     else

Other related posts:

  • » [haiku-webkit-commits] r376 - webkit/trunk/WebKit/haiku/WebCoreSupport - webkit