diff options
Diffstat (limited to 'WebCore/rendering/RenderText.h')
-rw-r--r-- | WebCore/rendering/RenderText.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderText.h b/WebCore/rendering/RenderText.h index 6ab73f6..e3a6997 100644 --- a/WebCore/rendering/RenderText.h +++ b/WebCore/rendering/RenderText.h @@ -76,8 +76,8 @@ public: virtual int lineHeight(bool firstLine, bool isRootLineBox = false) const; - virtual int minPrefWidth() const; - virtual int maxPrefWidth() const; + virtual int minPreferredLogicalWidth() const; + virtual int maxPreferredLogicalWidth() const; void trimmedPrefWidths(int leadWidth, int& beginMinW, bool& beginWS, @@ -124,7 +124,7 @@ public: void checkConsistency() const; - virtual void calcPrefWidths(int leadWidth); + virtual void computePreferredLogicalWidths(int leadWidth); bool isAllCollapsibleWhitespace(); protected: @@ -137,7 +137,7 @@ protected: virtual InlineTextBox* createTextBox(); // Subclassed by SVG. private: - void calcPrefWidths(int leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&); + void computePreferredLogicalWidths(int leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&); // Make length() private so that callers that have a RenderText* // will use the more efficient textLength() instead, while |