| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index cd645123a792605bcadf839b31ca59feaa1f5df1..ad0f148cf099fffdd7cfbc40085fd6b684f67af1 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -1036,7 +1036,7 @@ bool Node::canStartSelection() const
|
| return true;
|
|
|
| if (renderer()) {
|
| - RenderStyle* style = renderer()->style();
|
| + const RenderStyle* style = renderer()->style();
|
| // We allow selections to begin within an element that has -webkit-user-select: none set,
|
| // but if the element is draggable then dragging should take priority over selection.
|
| if (style->userDrag() == DRAG_ELEMENT && style->userSelect() == SELECT_NONE)
|
|
|