Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1301)

Unified Diff: Source/core/html/forms/RadioButtonGroupScope.cpp

Issue 547823002: Track reasons for |Node::SetNeedsStyleRecalc| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reasons as tuple Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/forms/RadioButtonGroupScope.cpp
diff --git a/Source/core/html/forms/RadioButtonGroupScope.cpp b/Source/core/html/forms/RadioButtonGroupScope.cpp
index 4da751288a3d7de03bcd544c46164616f42d5477..743cb60311f7d7ccc29b67ea72bf02df9a28134b 100644
--- a/Source/core/html/forms/RadioButtonGroupScope.cpp
+++ b/Source/core/html/forms/RadioButtonGroupScope.cpp
@@ -116,7 +116,7 @@ void RadioButtonGroup::updateCheckedState(HTMLInputElement* button)
typedef WillBeHeapHashSet<RawPtrWillBeMember<HTMLInputElement> >::const_iterator Iterator;
Iterator end = m_members.end();
for (Iterator it = m_members.begin(); it != end; ++it) {
- (*it)->didAffectSelector(AffectedSelectorIndeterminate);
+ (*it)->didAffectSelector(StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Indeterminate), AffectedSelectorIndeterminate);
}
}

Powered by Google App Engine
This is Rietveld 408576698