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

Unified Diff: Source/core/frame/Settings.cpp

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 10 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 | « Source/core/frame/Settings.h ('k') | Source/core/frame/SettingsDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Settings.cpp
diff --git a/Source/core/frame/Settings.cpp b/Source/core/frame/Settings.cpp
index fa080bd2b67a83dd22c72caffecf908247ecbc07..dc2bcaa6c5dc09fd25f33fc9d8dfb44ebb99372f 100644
--- a/Source/core/frame/Settings.cpp
+++ b/Source/core/frame/Settings.cpp
@@ -99,7 +99,7 @@ void Settings::setTextAutosizingEnabled(bool textAutosizingEnabled)
return;
m_textAutosizingEnabled = textAutosizingEnabled;
- invalidate(SettingsDelegate::StyleChange);
+ invalidate(SettingsDelegate::TextAutosizingChange);
}
// FIXME: Move to Settings.in once make_settings can understand IntSize.
@@ -109,7 +109,7 @@ void Settings::setTextAutosizingWindowSizeOverride(const IntSize& textAutosizing
return;
m_textAutosizingWindowSizeOverride = textAutosizingWindowSizeOverride;
- invalidate(SettingsDelegate::StyleChange);
+ invalidate(SettingsDelegate::TextAutosizingChange);
}
void Settings::setMockScrollbarsEnabled(bool flag)
« no previous file with comments | « Source/core/frame/Settings.h ('k') | Source/core/frame/SettingsDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698