fix: respect image animation policy pref (#30403)
This commit is contained in:
parent
08e9aea940
commit
e223b4db94
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ void WebContentsPreferences::OverrideWebkitPrefs(
|
|||
blink::web_pref::WebPreferences* prefs) {
|
||||
prefs->javascript_enabled = javascript_;
|
||||
prefs->images_enabled = images_;
|
||||
// GetImageAnimationPolicy(&preference_, &prefs->animation_policy);
|
||||
prefs->animation_policy = image_animation_policy_;
|
||||
prefs->text_areas_are_resizable = text_areas_are_resizable_;
|
||||
prefs->navigate_on_drag_drop = navigate_on_drag_drop_;
|
||||
prefs->autoplay_policy = autoplay_policy_;
|
||||
|
|
Loading…
Reference in a new issue