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

Unified Diff: Source/core/html/shadow/DateTimeFieldElement.cpp

Issue 547823002: Track reasons for |Node::SetNeedsStyleRecalc| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use const char[] 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/shadow/DateTimeFieldElement.cpp
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp
index b2c28512b3fdaec674ec0a8e5175954340b1765e..fd889a92d556d547d6c4598b72589cd8077a0526 100644
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp
@@ -202,7 +202,7 @@ void DateTimeFieldElement::setDisabled()
{
// Set HTML attribute disabled to change apperance.
setBooleanAttribute(disabledAttr, true);
- setNeedsStyleRecalc(SubtreeStyleChange);
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::DisabledPseudoClass, SubtreeStyleChange);
esprehn 2014/09/19 04:53:10 I think you want to generalize this too (PseudoCla
kouhei (in TOK) 2014/09/22 09:03:54 Done.
}
bool DateTimeFieldElement::supportsFocus() const

Powered by Google App Engine
This is Rietveld 408576698