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

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 1001833002: Rename default -> initial style and use singletons. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index 65af49634c0657f4eae9bd64c81a1321cfb36268..048856545937c837e12e906c36d55045d3f5b44f 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -115,7 +115,6 @@ public:
PassRefPtr<LayoutStyle> pseudoStyleForElement(Element*, const PseudoStyleRequest&, LayoutStyle* parentStyle);
PassRefPtr<LayoutStyle> styleForPage(int pageIndex);
- PassRefPtr<LayoutStyle> defaultStyleForElement();
PassRefPtr<LayoutStyle> styleForText(Text*);
static PassRefPtr<LayoutStyle> styleForDocument(Document&);
@@ -205,6 +204,8 @@ public:
void addTreeBoundaryCrossingScope(ContainerNode& scope);
private:
+ PassRefPtr<LayoutStyle> initialStyleForElement();
+
void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<StyleRule>>& watchedSelectors);
// FIXME: This should probably go away, folded into FontBuilder.
« no previous file with comments | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698