| Index: Source/core/rendering/RenderText.h
|
| diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h
|
| index 97ab8febe31dd1530d9753d0f1a1ddb26a58c64f..8e87a85f145fda3e456842b7f55a29fa07faaab4 100644
|
| --- a/Source/core/rendering/RenderText.h
|
| +++ b/Source/core/rendering/RenderText.h
|
| @@ -120,6 +120,7 @@ public:
|
| LayoutUnit marginRight() const { return minimumValueForLength(style()->marginRight(), 0); }
|
|
|
| virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const OVERRIDE FINAL;
|
| + virtual const RenderLayerModelObject* containerForPaintInvalidation() const OVERRIDE;
|
|
|
| InlineTextBox* firstTextBox() const { return m_firstTextBox; }
|
| InlineTextBox* lastTextBox() const { return m_lastTextBox; }
|
| @@ -161,6 +162,10 @@ protected:
|
| virtual InlineTextBox* createTextBox(); // Subclassed by SVG.
|
|
|
| private:
|
| + // RenderText objects don't know how to invalidate paint for themselves, since they don't know how to compute their bounds. Instead, they
|
| + // invalidate paint for the containing block or layer, as computed by this method.
|
| + const RenderObject* containingObjectForPaintInvalidation() const;
|
| +
|
| void computePreferredLogicalWidths(float leadWidth);
|
| void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&);
|
|
|
|
|