[Qt][WK2] Fix the debug build.
authorabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2012 17:35:27 +0000 (17:35 +0000)
committerabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2012 17:35:27 +0000 (17:35 +0000)
Unreviewed.

* UIProcess/qt/QtWebPageEventHandler.cpp:
(setInputPanelVisible): Remove assertion from non-member function.

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp

index 2374f9e..28bd78b 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-18  Andras Becsi  <andras.becsi@nokia.com>
+
+        [Qt][WK2] Fix the debug build.
+
+        Unreviewed.
+
+        * UIProcess/qt/QtWebPageEventHandler.cpp:
+        (setInputPanelVisible): Remove assertion from non-member function.
+
 2012-01-12  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
         [Qt] Zoom in to the focused node only when vkb starts becoming visible
index f7249fa..f557ee9 100644 (file)
@@ -427,8 +427,6 @@ void QtWebPageEventHandler::resetGestureRecognizers()
 
 static void setInputPanelVisible(bool visible)
 {
-    Q_ASSERT(m_webView->hasFocus());
-
     if (qApp->inputPanel()->visible() == visible)
         return;