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/rendering/RenderTextControl.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/rendering/RenderTextControl.cpp
diff --git a/Source/core/rendering/RenderTextControl.cpp b/Source/core/rendering/RenderTextControl.cpp
index b1c845b46cd23f8bdd021f6c6cc777e4f22239ff..d7df1bb1f355f4c1bf9b77819eb1a1ea5e02e737 100644
--- a/Source/core/rendering/RenderTextControl.cpp
+++ b/Source/core/rendering/RenderTextControl.cpp
@@ -75,7 +75,7 @@ void RenderTextControl::styleDidChange(StyleDifference diff, const RenderStyle*
innerEditorRenderer->style()->setHeight(Length());
innerEditorRenderer->style()->setWidth(Length());
innerEditorRenderer->setStyle(createInnerEditorStyle(style()));
- innerEditor->setNeedsStyleRecalc(SubtreeStyleChange);
+ innerEditor->setNeedsStyleRecalc(StyleChangeReasonForTracing::Control, SubtreeStyleChange);
}
textFormControlElement()->updatePlaceholderVisibility(false);
}

Powered by Google App Engine
This is Rietveld 408576698