Title: [91964] trunk/Source/WebKit2
Revision
91964
Author
commit-qu...@webkit.org
Date
2011-07-28 17:26:00 -0700 (Thu, 28 Jul 2011)

Log Message

REGRESSION (5.1): CJK input broken after clicking on Flash content
<rdar://problem/9854447>
https://bugs.webkit.org/show_bug.cgi?id=65349

Patch by Tim Horton <timothy_hor...@apple.com> on 2011-07-28
Reviewed by Darin Adler.

After giving Flash focus on a page and then navigating away from that page
using the back button, we were not getting notified to switch back to
inline (non-complex) input. Now, notify the page that it can leave complex
text mode when the plugin is destroyed.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::~PluginView):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (91963 => 91964)


--- trunk/Source/WebKit2/ChangeLog	2011-07-29 00:24:20 UTC (rev 91963)
+++ trunk/Source/WebKit2/ChangeLog	2011-07-29 00:26:00 UTC (rev 91964)
@@ -1,3 +1,19 @@
+2011-07-28  Tim Horton  <timothy_hor...@apple.com>
+
+        REGRESSION (5.1): CJK input broken after clicking on Flash content
+        <rdar://problem/9854447>
+        https://bugs.webkit.org/show_bug.cgi?id=65349
+
+        Reviewed by Darin Adler.
+
+        After giving Flash focus on a page and then navigating away from that page
+        using the back button, we were not getting notified to switch back to
+        inline (non-complex) input. Now, notify the page that it can leave complex
+        text mode when the plugin is destroyed.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::~PluginView):
+
 2011-07-28  Anders Carlsson  <ander...@apple.com>
 
         Crash when trying to encode FontInfo with a null font attribute descriptor

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (91963 => 91964)


--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2011-07-29 00:24:20 UTC (rev 91963)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2011-07-29 00:26:00 UTC (rev 91964)
@@ -286,6 +286,9 @@
         m_isBeingDestroyed = true;
         m_plugin->destroyPlugin();
         m_isBeingDestroyed = false;
+#if PLATFORM(MAC)
+        setComplexTextInputEnabled(false);
+#endif
     }
 
     // Invalidate the object map.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to