| Index: Source/WebCore/rendering/RenderObject.h
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderObject.h (revision 110458)
|
| +++ Source/WebCore/rendering/RenderObject.h (working copy)
|
| @@ -764,6 +764,8 @@
|
| // descendants (as described above in the SelectionState enum declaration).
|
| SelectionState selectionState() const { return m_bitfields.selectionState(); }
|
| virtual void setSelectionState(SelectionState state) { m_bitfields.setSelectionState(state); }
|
| + inline void setSelectionStateIfNeeded(SelectionState);
|
| + bool canUpdateSelectionOnRootLineBoxes();
|
|
|
| // A single rectangle that encompasses all of the selected objects within this object. Used to determine the tightest
|
| // possible bounding box for the selection.
|
| @@ -1105,6 +1107,14 @@
|
| return style()->preserveNewline();
|
| }
|
|
|
| +inline void RenderObject::setSelectionStateIfNeeded(SelectionState state)
|
| +{
|
| + if (selectionState() == state)
|
| + return;
|
| +
|
| + setSelectionState(state);
|
| +}
|
| +
|
| inline void makeMatrixRenderable(TransformationMatrix& matrix, bool has3DRendering)
|
| {
|
| #if !ENABLE(3D_RENDERING)
|
|
|