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

Unified Diff: Source/core/html/HTMLOptGroupElement.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/HTMLOptGroupElement.cpp
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp
index 4aed5bce86036ba1454877af90a3007cf8f81141..2a570406c186c4f915feb94942ed395e8f139424 100644
--- a/Source/core/html/HTMLOptGroupElement.cpp
+++ b/Source/core/html/HTMLOptGroupElement.cpp
@@ -70,7 +70,7 @@ void HTMLOptGroupElement::parseAttribute(const QualifiedName& name, const Atomic
recalcSelectOptions();
if (name == disabledAttr)
- didAffectSelector(AffectedSelectorDisabled | AffectedSelectorEnabled);
+ didAffectSelector(StyleChangeReasonForTracing::fromAttribute(disabledAttr), AffectedSelectorDisabled | AffectedSelectorEnabled);
else if (name == labelAttr)
updateGroupLabel();
}

Powered by Google App Engine
This is Rietveld 408576698