Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: webkit/glue/webview_impl.cc

Issue 67069: Merge 13072 - A workaround fix for Issue 9186.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 13559)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -1404,6 +1404,12 @@
// universal access.
settings->setAllowUniversalAccessFromFileURLs(false);
+ // We prevent WebKit from checking if it needs to add a "text direction"
+ // submenu to a context menu. it is not only because we don't need the result
+ // but also because it cause a possible crash in Editor::hasBidiSelection().
+ settings->setTextDirectionSubmenuInclusionBehavior(
+ TextDirectionSubmenuNeverIncluded);
+
#if defined(OS_WIN)
// RenderTheme is a singleton that needs to know the default font size to
// draw some form controls. We let it know each time the size changes.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698