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

Unified Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 13723004: Remove the ENABLE_TEXT_AUTOSIZING compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebKit/chromium/src/WebSettingsImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
index b42196a6772cc44f0ad5836edf22f537b621276f..f04878b5dce83481589b6523c2433054af04930c 100644
--- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp
+++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
@@ -158,20 +158,12 @@ void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale(bool autoZoomFocusedN
void WebSettingsImpl::setTextAutosizingEnabled(bool enabled)
{
-#if ENABLE(TEXT_AUTOSIZING)
m_settings->setTextAutosizingEnabled(enabled);
-#else
- UNUSED_PARAM(enabled);
-#endif
}
void WebSettingsImpl::setTextAutosizingFontScaleFactor(float fontScaleFactor)
{
-#if ENABLE(TEXT_AUTOSIZING)
m_settings->setTextAutosizingFontScaleFactor(fontScaleFactor);
-#else
- UNUSED_PARAM(fontScaleFactor);
-#endif
}
void WebSettingsImpl::setDefaultTextEncodingName(const WebString& encoding)

Powered by Google App Engine
This is Rietveld 408576698