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

Unified Diff: content/renderer/render_view_impl.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
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | third_party/WebKit/Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 17857a686b73ffc31f1b2e2dde7349aa1e88659a..ea44ac5a79fd1d076c78291bad2f682877524131 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1077,6 +1077,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
prefs.video_fullscreen_detection_enabled);
settings->setEmbeddedMediaExperienceEnabled(
prefs.embedded_media_experience_enabled);
+ settings->setDoNotUpdateSelectionOnMutatingSelectionRange(
+ prefs.do_not_update_selection_on_mutating_selection_range);
#else // defined(OS_ANDROID)
settings->setCrossOriginMediaPlaybackRequiresUserGesture(
prefs.cross_origin_media_playback_requires_user_gesture);
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | third_party/WebKit/Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698