Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 21e6e9cd7f463c54dd4d7ea778c4bf3770bf49ad..a92baefeea2d5c0fa8bc8cffefcc5c186353932a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2696,7 +2696,7 @@ void LayoutObject::updateDragState(bool dragOn) |
setIsDragging(dragOn); |
if (valueChanged && node()) { |
if (node()->isElementNode() && toElement(node())->childrenOrSiblingsAffectedByDrag()) |
- document().styleEngine().pseudoStateChangedForElement(CSSSelector::PseudoDrag, *toElement(node())); |
+ toElement(node())->pseudoStateChanged(CSSSelector::PseudoDrag); |
else if (style()->affectedByDrag()) |
node()->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Drag)); |
} |