Index: third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
diff --git a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
index a721e8f69456bff4e45d739a107d8550f0c347bb..96572176bf0515dec35daaf0d40affa71926d25f 100644 |
--- a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
+++ b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
@@ -37,7 +37,8 @@ UserActionElementSet::~UserActionElementSet() {} |
void UserActionElementSet::DidDetach(Element& element) { |
DCHECK(element.IsUserActionElement()); |
- ClearFlags(&element, kIsActiveFlag | kInActiveChainFlag | kIsHoveredFlag); |
+ ClearFlags(&element, kIsActiveFlag | kInActiveChainFlag | kIsHoveredFlag | |
+ kHasFocusWithinFlag); |
} |
bool UserActionElementSet::HasFlags(const Node* node, unsigned flags) const { |