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

Unified Diff: Source/core/html/HTMLFrameSetElement.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/HTMLFrameSetElement.cpp
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp
index df3604a800935a1212d83b25ca263cf27d4c4273..a81fb1aa70514eb841f6f81a66891a1dddd34865 100644
--- a/Source/core/html/HTMLFrameSetElement.cpp
+++ b/Source/core/html/HTMLFrameSetElement.cpp
@@ -74,12 +74,12 @@ void HTMLFrameSetElement::parseAttribute(const QualifiedName& name, const Atomic
if (name == rowsAttr) {
if (!value.isNull()) {
m_rowLengths = parseListOfDimensions(value.string());
- setNeedsStyleRecalc(SubtreeStyleChange);
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::FrameSet, SubtreeStyleChange);
esprehn 2014/09/19 04:53:10 (AttributeChange, "rows")
kouhei (in TOK) 2014/09/22 09:03:54 Changed to RowsAttribute
}
} else if (name == colsAttr) {
if (!value.isNull()) {
m_colLengths = parseListOfDimensions(value.string());
- setNeedsStyleRecalc(SubtreeStyleChange);
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::FrameSet, SubtreeStyleChange);
esprehn 2014/09/19 04:53:10 (AttributeChange, "cols")
kouhei (in TOK) 2014/09/22 09:03:54 ColsAttribute
}
} else if (name == frameborderAttr) {
if (!value.isNull()) {

Powered by Google App Engine
This is Rietveld 408576698