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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleSheet.cpp

Issue 2469693002: Reduce CSSStyleSheet size by moving bool member. (Closed)
Patch Set: Curly brace sneaked in. Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/css/CSSStyleSheet.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
index 33e90d802930152875feb56d9610c90215357ac7..9c42a7fd73527b5f3baee17b206c8704c0afef3a 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
@@ -111,12 +111,8 @@ CSSStyleSheet* CSSStyleSheet::createInline(Node& ownerNode,
CSSStyleSheet::CSSStyleSheet(StyleSheetContents* contents,
CSSImportRule* ownerRule)
: m_contents(contents),
- m_isInlineStylesheet(false),
- m_isDisabled(false),
- m_ownerNode(nullptr),
m_ownerRule(ownerRule),
- m_startPosition(TextPosition::minimumPosition()),
- m_loadCompleted(false) {
+ m_startPosition(TextPosition::minimumPosition()) {
m_contents->registerClient(this);
}
@@ -126,11 +122,8 @@ CSSStyleSheet::CSSStyleSheet(StyleSheetContents* contents,
const TextPosition& startPosition)
: m_contents(contents),
m_isInlineStylesheet(isInlineStylesheet),
- m_isDisabled(false),
m_ownerNode(&ownerNode),
- m_ownerRule(nullptr),
- m_startPosition(startPosition),
- m_loadCompleted(false) {
+ m_startPosition(startPosition) {
#if DCHECK_IS_ON()
DCHECK(isAcceptableCSSStyleSheetParent(ownerNode));
#endif
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSStyleSheet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698