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

Unified Diff: sky/engine/core/css/StyleSheetList.cpp

Issue 780483002: Remove the CSSOM. (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/css/StyleSheetList.h ('k') | sky/engine/core/css/StyleSheetList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleSheetList.cpp
diff --git a/sky/engine/core/css/StyleSheetList.cpp b/sky/engine/core/css/StyleSheetList.cpp
index e43604669236febef389daba99a006282217f843..cd2557b3e80f2df177e756d02c58ea2448184022 100644
--- a/sky/engine/core/css/StyleSheetList.cpp
+++ b/sky/engine/core/css/StyleSheetList.cpp
@@ -46,13 +46,11 @@ inline const Vector<RefPtr<StyleSheet> >& StyleSheetList::styleSheets()
return document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope);
}
-#if !ENABLE(OILPAN)
void StyleSheetList::detachFromDocument()
{
m_detachedStyleSheets = document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope);
m_treeScope = nullptr;
}
-#endif
unsigned StyleSheetList::length()
{
« no previous file with comments | « sky/engine/core/css/StyleSheetList.h ('k') | sky/engine/core/css/StyleSheetList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698