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

Unified Diff: sky/engine/core/dom/StyleEngine.h

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comment. 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/RenderTreeBuilder.h ('k') | sky/engine/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/StyleEngine.h
diff --git a/sky/engine/core/dom/StyleEngine.h b/sky/engine/core/dom/StyleEngine.h
index 37ad7f6bd5b5dad42655f22dfbd92c9107d51854..d04beeab385eec35018e1737d8e78a8c321c4106 100644
--- a/sky/engine/core/dom/StyleEngine.h
+++ b/sky/engine/core/dom/StyleEngine.h
@@ -50,17 +50,6 @@ class StyleSheetContents;
class StyleEngine final : public CSSFontSelectorClient {
WTF_MAKE_FAST_ALLOCATED;
public:
-
- class IgnoringPendingStylesheet : public TemporaryChange<bool> {
- public:
- IgnoringPendingStylesheet(StyleEngine* engine)
- : TemporaryChange<bool>(engine->m_ignorePendingStylesheets, true)
- {
- }
- };
-
- friend class IgnoringPendingStylesheet;
-
static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(new StyleEngine(document)); }
~StyleEngine();
@@ -72,8 +61,6 @@ public:
void updateActiveStyleSheets();
- bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; }
-
// FIXME(sky): Remove this and ::first-line.
bool usesFirstLineRules() const { return false; }
@@ -124,7 +111,6 @@ private:
typedef ListHashSet<TreeScope*, 16> TreeScopeSet;
TreeScopeSet m_activeTreeScopes;
- bool m_ignorePendingStylesheets;
OwnPtr<StyleResolver> m_resolver;
RefPtr<CSSFontSelector> m_fontSelector;
« no previous file with comments | « sky/engine/core/dom/RenderTreeBuilder.h ('k') | sky/engine/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698