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

Unified Diff: android_webview/native/aw_settings.cc

Issue 2776073002: Workaround for Samsung email issues (Closed)
Patch Set: add a comment to web_preferences.h Created 3 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
Index: android_webview/native/aw_settings.cc
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
index 0b9c46106c8f9b70ef86c121b3f1f90f4e965f91..03656fe05a2775dbe9cc40019946f45afb1c2834 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -436,6 +436,9 @@ void AwSettings::PopulateWebPreferencesLocked(JNIEnv* env,
web_prefs->allow_geolocation_on_insecure_origins =
Java_AwSettings_getAllowGeolocationOnInsecureOrigins(env, obj);
+ web_prefs->do_not_update_selection_on_mutating_selection_range =
+ Java_AwSettings_getDoNotUpdateSelectionOnMutatingSelectionRange(env, obj);
+
// Keep spellcheck disabled on html elements unless the spellcheck="true"
// attribute is explicitly specified. This "opt-in" behavior is for backward
// consistency in apps that use WebView (see crbug.com/652314).

Powered by Google App Engine
This is Rietveld 408576698