| 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 88f9593e03e18c085f3329cf3ab2eac33233db9e..c25d52a34da153cea6b8ef6b278dd18aa8670366 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2685,7 +2685,7 @@ void LayoutObject::updateDragState(bool dragOn)
|
| setIsDragging(dragOn);
|
| if (valueChanged && node()) {
|
| if (node()->isElementNode() && toElement(node())->childrenOrSiblingsAffectedByDrag())
|
| - node()->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Drag));
|
| + document().styleEngine().pseudoStateChangedForElement(CSSSelector::PseudoDrag, *toElement(node()));
|
| else if (style()->affectedByDrag())
|
| node()->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Drag));
|
| }
|
|
|