Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 8b5110fb0257d3304c6beb702d007a1ba76470f0..765b9edf86536a78239766be7fc9af05214c8eb2 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -88,8 +88,8 @@ public: |
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OVERRIDE; |
- enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNothing }; |
- void setSelection(RenderObject* start, int startPos, RenderObject* end, int endPos, SelectionRepaintMode = RepaintNewXOROld); |
+ enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInvalidationNewMinusOld, PaintInvalidationNothing }; |
+ void setSelection(RenderObject* start, int startPos, RenderObject*, int endPos, SelectionPaintInvalidationMode = PaintInvalidationNewXOROld); |
void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObject*& endRenderer, int& endOffset) const; |
void clearSelection(); |
RenderObject* selectionStart() const { return m_selectionStart; } |
@@ -208,7 +208,7 @@ DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |
// Suspends the LayoutState cached offset and clipRect optimization. Used under transforms |
// that cannot be represented by LayoutState (common in SVG) and when manipulating the render |
-// tree during layout in ways that can trigger repaint of a non-child (e.g. when a list item |
+// tree during layout in ways that can trigger paint invalidation of a non-child (e.g. when a list item |
// moves its list marker around). Note that even when disabled, LayoutState is still used to |
// store layoutDelta. |
class ForceHorriblySlowRectMapping { |