Title: [91559] trunk/Source/WebCore
Revision
91559
Author
j...@apple.com
Date
2011-07-22 00:16:47 -0700 (Fri, 22 Jul 2011)

Log Message

Reviewed by Darin Adler.

[Mac] Need to make sure autocorrection panel is dismissed in Document::setFocusNode().
https://bugs.webkit.org/show_bug.cgi?id=64824
<rdar://problem/9624232>

* editing/Editor.cpp:
(WebCore::Editor::textFieldDidEndEditing): Dismiss autocorrection panel when current node losing focus.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91558 => 91559)


--- trunk/Source/WebCore/ChangeLog	2011-07-22 06:55:41 UTC (rev 91558)
+++ trunk/Source/WebCore/ChangeLog	2011-07-22 07:16:47 UTC (rev 91559)
@@ -1,3 +1,14 @@
+2011-07-22  Jia Pu  <j...@apple.com>
+
+        Reviewed by Darin Adler.
+
+        [Mac] Need to make sure autocorrection panel is dismissed in Document::setFocusNode().
+        https://bugs.webkit.org/show_bug.cgi?id=64824
+        <rdar://problem/9624232>
+
+        * editing/Editor.cpp:
+        (WebCore::Editor::textFieldDidEndEditing): Dismiss autocorrection panel when current node losing focus.
+
 2011-07-21  Kent Tamura  <tk...@chromium.org>
 
         A trivial fix for r91550.

Modified: trunk/Source/WebCore/editing/Editor.cpp (91558 => 91559)


--- trunk/Source/WebCore/editing/Editor.cpp	2011-07-22 06:55:41 UTC (rev 91558)
+++ trunk/Source/WebCore/editing/Editor.cpp	2011-07-22 07:16:47 UTC (rev 91559)
@@ -2838,6 +2838,7 @@
 
 void Editor::textFieldDidEndEditing(Element* e)
 {
+    dismissCorrectionPanelAsIgnored();
     if (client())
         client()->textFieldDidEndEditing(e);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to