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

Unified Diff: Source/core/dom/Node.h

Issue 170873004: Fix issue in which removing a class does not always invalidate style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed bug - was not clearing the NeedsStyleInvalidation bit correctly. Created 6 years, 10 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
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 8e24f06b36e7d212b42672da2b391490af8e1b85..a6bd6f45ff5c2cfc2ed9cb14421d047526492321 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -371,6 +371,7 @@ public:
void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalidation); }
void markAncestorsWithChildNeedsStyleInvalidation();
bool needsStyleInvalidation() { return getFlag(NeedsStyleInvalidation); }
+ void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidation); }
void setNeedsStyleInvalidation();
void recalcDistribution();
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698