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

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

Issue 836893003: Replace sheet change methods with styleResolverChanged. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase 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/dom/Document.h ('k') | sky/engine/core/html/HTMLStyleElement.cpp » ('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 7d9068547ac2af446c89391a6a4acf3c31a5ff35..a3965deea32ceda4e728b24f8a83424e8874abd6 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -2620,22 +2620,6 @@ DocumentLifecycleNotifier& Document::lifecycleNotifier()
return static_cast<DocumentLifecycleNotifier&>(LifecycleContext<Document>::lifecycleNotifier());
}
-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.
- styleResolverChanged();
-}
-
-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.
- styleResolverChanged();
-}
-
Element* Document::activeElement() const
{
if (Element* element = treeScope().adjustedFocusedElement())
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698