Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 8e6b887898ab8d916a792a0c3ac9535868d0ebe0..f5f66e04b6f36589f5568b244eb2c08ccc2e1b65 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1004,6 +1004,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, |
settings->setStrictPowerfulFeatureRestrictions( |
prefs.strict_powerful_feature_restrictions); |
+ settings->setAllowGeolocationOnInsecureOrigins( |
+ prefs.allow_geolocation_on_insecure_origins); |
settings->setPasswordEchoEnabled(prefs.password_echo_enabled); |
settings->setShouldPrintBackgrounds(prefs.should_print_backgrounds); |
settings->setShouldClearDocumentBackground( |