fix: Revert "feat: Corner Smoothing CSS rule" (#46231)
Revert "feat: Corner Smoothing CSS rule (#45185)"
This reverts commit b75e802280
.
This commit is contained in:
parent
cfd64b5f89
commit
abaef13c0b
26 changed files with 1 additions and 1313 deletions
|
@ -149,7 +149,6 @@ void WebContentsPreferences::Clear() {
|
|||
preload_path_ = std::nullopt;
|
||||
v8_cache_options_ = blink::mojom::V8CacheOptions::kDefault;
|
||||
deprecated_paste_enabled_ = false;
|
||||
corner_smoothing_css_ = true;
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
scroll_bounce_ = false;
|
||||
|
@ -229,8 +228,6 @@ void WebContentsPreferences::SetFromDictionary(
|
|||
if (web_preferences.Get(options::kDisableBlinkFeatures,
|
||||
&disable_blink_features))
|
||||
disable_blink_features_ = disable_blink_features;
|
||||
web_preferences.Get(options::kEnableCornerSmoothingCSS,
|
||||
&corner_smoothing_css_);
|
||||
|
||||
base::FilePath::StringType preload_path;
|
||||
if (web_preferences.Get(options::kPreloadScript, &preload_path)) {
|
||||
|
@ -481,8 +478,6 @@ void WebContentsPreferences::OverrideWebkitPrefs(
|
|||
prefs->v8_cache_options = v8_cache_options_;
|
||||
|
||||
prefs->dom_paste_enabled = deprecated_paste_enabled_;
|
||||
|
||||
renderer_prefs->electron_corner_smoothing_css = corner_smoothing_css_;
|
||||
}
|
||||
|
||||
WEB_CONTENTS_USER_DATA_KEY_IMPL(WebContentsPreferences);
|
||||
|
|
|
@ -134,7 +134,6 @@ class WebContentsPreferences
|
|||
std::optional<base::FilePath> preload_path_;
|
||||
blink::mojom::V8CacheOptions v8_cache_options_;
|
||||
bool deprecated_paste_enabled_ = false;
|
||||
bool corner_smoothing_css_;
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
bool scroll_bounce_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue