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

Unified Diff: Source/core/dom/shadow/InsertionPoint.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/dom/shadow/InsertionPoint.cpp
diff --git a/Source/core/dom/shadow/InsertionPoint.cpp b/Source/core/dom/shadow/InsertionPoint.cpp
index fb1029415a385788b478bfd5a132380aac8fae29..a7be69d6dd1bb1e78a23c27b205f4497fa8e8775 100644
--- a/Source/core/dom/shadow/InsertionPoint.cpp
+++ b/Source/core/dom/shadow/InsertionPoint.cpp
@@ -123,7 +123,7 @@ void InsertionPoint::willRecalcStyle(StyleRecalcChange change)
if (change < Inherit)
return;
for (size_t i = 0; i < m_distribution.size(); ++i)
- m_distribution.at(i)->setNeedsStyleRecalc(SubtreeStyleChange);
+ m_distribution.at(i)->setNeedsStyleRecalc(StyleChangeReasonForTracing::Shadow, SubtreeStyleChange);
esprehn 2014/09/19 04:53:09 This is going to confuse people, this happens insi
kouhei (in TOK) 2014/09/22 09:03:54 Done.
}
bool InsertionPoint::shouldUseFallbackElements() const

Powered by Google App Engine
This is Rietveld 408576698