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

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: Fixed TextAutosizing 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
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)

Powered by Google App Engine
This is Rietveld 408576698