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

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
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebSettingsImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
index e340bd01f1409a044709692d6298a30f687da974..c0b539c3842323ffd2b42c653611277ad2bde803 100644
--- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp
+++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
@@ -159,20 +159,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)
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698