Chromium Code Reviews| Index: Source/core/rendering/RenderText.h |
| diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h |
| index ef96eb3b1e361cdb7036571b05628c643be0a969..e02afaffa9df801bbef0ad1cfba4c145aa47ad32 100644 |
| --- a/Source/core/rendering/RenderText.h |
| +++ b/Source/core/rendering/RenderText.h |
| @@ -184,7 +184,11 @@ private: |
| virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const OVERRIDE FINAL; |
| // The parent invalidates for RenderText, so RenderText does nothing. |
|
yoichio
2014/10/02 01:49:02
Should we remove this comment?
|
| - virtual InvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject&) OVERRIDE FINAL { return InvalidationNone; } |
| + virtual InvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject& paintInvalidationContainer) OVERRIDE FINAL |
| + { |
| + invalidateSelectionIfNeeded(paintInvalidationContainer); |
| + return InvalidationNone; |
| + } |
| // We put the bitfield first to minimize padding on 64-bit. |
| bool m_hasBreakableChar : 1; // Whether or not we can be broken into multiple lines. |