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

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

Issue 774953002: Always Reconstruct when stylesheets change. (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 | « sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp ('k') | 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/StyleElement.cpp
diff --git a/sky/engine/core/dom/StyleElement.cpp b/sky/engine/core/dom/StyleElement.cpp
index 64ffd309d71d29866b94d90c85cf38efa6b1f268..f7caeb383e05470dbd9bebae6912307fbc083bdf 100644
--- a/sky/engine/core/dom/StyleElement.cpp
+++ b/sky/engine/core/dom/StyleElement.cpp
@@ -92,7 +92,7 @@ void StyleElement::removedFromDocument(Document& document, Element* element, Con
if (m_sheet)
clearSheet(element);
if (removedSheet)
- document.removedStyleSheet(removedSheet.get(), AnalyzedStyleUpdate);
+ document.removedStyleSheet(removedSheet.get());
}
void StyleElement::clearDocumentData(Document& document, Element* element)
@@ -161,7 +161,7 @@ void StyleElement::createSheet(Element* e, const String& text)
}
- document.styleResolverMayHaveChanged();
+ document.styleResolverChanged();
}
}
« no previous file with comments | « sky/engine/core/dom/ShadowTreeStyleSheetCollection.cpp ('k') | sky/engine/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698