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

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

Issue 812593004: Remove dirtyTreeScopes tracking code from StyleEngine. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « no previous file | sky/engine/core/dom/StyleEngine.h » ('j') | 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 3180121284874de48220308615a4f88f2c79f538..d4284fd180d6cb344f903f7bacab537650337b35 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -2697,8 +2697,6 @@ void Document::removedStyleSheet(CSSStyleSheet* sheet)
// If we're in document teardown, then we don't need this notification of our sheet's removal.
// styleResolverChanged() is needed even when the document is inactive so that
// imported docuements (which is inactive) notifies the change to the master document.
- if (isActive())
- styleEngine()->modifiedStyleSheet(sheet);
styleResolverChanged();
}
@@ -2707,8 +2705,6 @@ void Document::modifiedStyleSheet(CSSStyleSheet* sheet)
// If we're in document teardown, then we don't need this notification of our sheet's removal.
// styleResolverChanged() is needed even when the document is inactive so that
// imported docuements (which is inactive) notifies the change to the master document.
- if (isActive())
- styleEngine()->modifiedStyleSheet(sheet);
styleResolverChanged();
}
« no previous file with comments | « no previous file | sky/engine/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698