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

Unified Diff: Source/WebCore/rendering/style/RenderStyle.h

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/WebCore/rendering/style/RenderStyle.h
diff --git a/Source/WebCore/rendering/style/RenderStyle.h b/Source/WebCore/rendering/style/RenderStyle.h
index e81316028358ecf9abdc6264aa774e590679af33..7c3983b5a729437b591a5f63c2f25f58e0014786 100644
--- a/Source/WebCore/rendering/style/RenderStyle.h
+++ b/Source/WebCore/rendering/style/RenderStyle.h
@@ -559,9 +559,7 @@ public:
float computedFontSize() const;
int fontSize() const;
-#if ENABLE(TEXT_AUTOSIZING)
float textAutosizingMultiplier() const { return visual->m_textAutosizingMultiplier; }
-#endif
Length textIndent() const { return rareInheritedData->indent; }
#if ENABLE(CSS3_TEXT)
@@ -1102,13 +1100,11 @@ public:
// Only used for blending font sizes when animating, for MathML anonymous blocks, and for text autosizing.
void setFontSize(float);
-#if ENABLE(TEXT_AUTOSIZING)
void setTextAutosizingMultiplier(float v)
{
SET_VAR(visual, m_textAutosizingMultiplier, v);
setFontSize(fontDescription().specifiedSize());
}
-#endif
void setColor(const Color&);
void setTextIndent(Length v) { SET_VAR(rareInheritedData, indent, v); }

Powered by Google App Engine
This is Rietveld 408576698