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

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 844873002: Simplify the style sharing list code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.cpp
diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
index 6ce6ac4d34b93fe7431f6810422eba147f776b69..62db4d0c6061f8d2c6392d5e7cfc6328336f8d4c 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -1106,7 +1106,6 @@ void Document::updateStyle(StyleRecalcChange change)
clearChildNeedsStyleRecalc();
if (m_styleEngine->hasResolver()) {
- // Pseudo element removal and similar may only work with these flags still set. Reset them after the style recalc.
StyleResolver& resolver = m_styleEngine->ensureResolver();
resolver.clearStyleSharingList();
}
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698