Index: trunk/Source/core/dom/Node.cpp |
=================================================================== |
--- trunk/Source/core/dom/Node.cpp (revision 190671) |
+++ trunk/Source/core/dom/Node.cpp (working copy) |
@@ -1040,10 +1040,10 @@ |
return true; |
if (renderer()) { |
- const LayoutStyle& style = renderer()->styleRef(); |
+ LayoutStyle* 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) |
+ if (style->userDrag() == DRAG_ELEMENT && style->userSelect() == SELECT_NONE) |
return false; |
} |
return parentOrShadowHostNode() ? parentOrShadowHostNode()->canStartSelection() : true; |