| Index: Source/WebCore/rendering/RenderText.h | 
| =================================================================== | 
| --- Source/WebCore/rendering/RenderText.h	(revision 128797) | 
| +++ Source/WebCore/rendering/RenderText.h	(working copy) | 
| @@ -45,6 +45,12 @@ | 
|  | 
| virtual PassRefPtr<StringImpl> originalText() const; | 
|  | 
| +    void updateTextIfNeeded() | 
| +    { | 
| +        if (preferredLogicalWidthsDirty()) | 
| +            updateText(); | 
| +    } | 
| + | 
| void extractTextBox(InlineTextBox*); | 
| void attachTextBox(InlineTextBox*); | 
| void removeTextBox(InlineTextBox*); | 
| @@ -139,6 +145,7 @@ | 
| virtual void styleWillChange(StyleDifference, const RenderStyle*) { } | 
| virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 
|  | 
| +    virtual void updateText() { } | 
| virtual void setTextInternal(PassRefPtr<StringImpl>); | 
| virtual UChar previousCharacter() const; | 
|  | 
|  |