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

Unified Diff: Source/core/css/PropertySetCSSStyleDeclaration.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/css/PropertySetCSSStyleDeclaration.cpp
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index b328f111801bded2bfa98f2194054405a73f99d4..24f41b4873da8b183209856ac1006c975065ad1c 100644
--- a/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -397,7 +397,7 @@ void InlineCSSStyleDeclaration::didMutate(MutationType type)
return;
m_parentElement->clearMutableInlineStyleIfEmpty();
- m_parentElement->setNeedsStyleRecalc(LocalStyleChange);
+ m_parentElement->setNeedsStyleRecalc(StyleChangeReasonForTracing::StyleSheetChange, LocalStyleChange);
m_parentElement->invalidateStyleAttribute();
StyleAttributeMutationScope(this).didInvalidateStyleAttr();
}

Powered by Google App Engine
This is Rietveld 408576698