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

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

Issue 2874783003: Remove DEBUG_TEXT_AUTOSIZING_ON_DESKTOP altogether. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Settings.cpp
diff --git a/third_party/WebKit/Source/core/frame/Settings.cpp b/third_party/WebKit/Source/core/frame/Settings.cpp
index afb571b7796b61f548c3e30c76d8cec82d4362c2..17debdffa865c698e6b530633617bb1c8c3dcc2b 100644
--- a/third_party/WebKit/Source/core/frame/Settings.cpp
+++ b/third_party/WebKit/Source/core/frame/Settings.cpp
@@ -61,14 +61,7 @@ static const bool kDefaultSelectTrailingWhitespaceEnabled = false;
#endif
Settings::Settings()
-#if DEBUG_TEXT_AUTOSIZING_ON_DESKTOP
- : text_autosizing_window_size_override_(320, 480),
pdr. 2017/05/10 19:01:16 I think we need to fully remove text_autosizing_wi
Nico 2017/05/10 19:06:30 It's used in a few (not many) tests, e.g. https://
pdr. 2017/05/10 19:32:54 Oohh, that's right. I forgot how those tests work.
- text_autosizing_enabled_(true)
-#else
- : text_autosizing_enabled_(false)
-#endif
- SETTINGS_INITIALIZER_LIST {
-}
+ : text_autosizing_enabled_(false) SETTINGS_INITIALIZER_LIST {}
std::unique_ptr<Settings> Settings::Create() {
return WTF::WrapUnique(new Settings);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698