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

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleEngine.h

Issue 1743183003: Remove unnecessary feature flag update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; } 116 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; }
117 117
118 unsigned maxDirectAdjacentSelectors() const { return m_maxDirectAdjacentSele ctors; } 118 unsigned maxDirectAdjacentSelectors() const { return m_maxDirectAdjacentSele ctors; }
119 bool usesSiblingRules() const { return m_usesSiblingRules; } 119 bool usesSiblingRules() const { return m_usesSiblingRules; }
120 bool usesFirstLineRules() const { return m_usesFirstLineRules; } 120 bool usesFirstLineRules() const { return m_usesFirstLineRules; }
121 bool usesWindowInactiveSelector() const { return m_usesWindowInactiveSelecto r; } 121 bool usesWindowInactiveSelector() const { return m_usesWindowInactiveSelecto r; }
122 122
123 bool usesRemUnits() const { return m_usesRemUnits; } 123 bool usesRemUnits() const { return m_usesRemUnits; }
124 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } 124 void setUsesRemUnit(bool b) { m_usesRemUnits = b; }
125 125
126 void combineCSSFeatureFlags(const RuleFeatureSet&);
127 void resetCSSFeatureFlags(const RuleFeatureSet&); 126 void resetCSSFeatureFlags(const RuleFeatureSet&);
128 127
129 void didRemoveShadowRoot(ShadowRoot*); 128 void didRemoveShadowRoot(ShadowRoot*);
130 void shadowRootRemovedFromDocument(ShadowRoot*); 129 void shadowRootRemovedFromDocument(ShadowRoot*);
131 void appendActiveAuthorStyleSheets(); 130 void appendActiveAuthorStyleSheets();
132 131
133 StyleResolver* resolver() const 132 StyleResolver* resolver() const
134 { 133 {
135 return m_resolver.get(); 134 return m_resolver.get();
136 } 135 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 265
267 OwnPtr<StyleResolverStats> m_styleResolverStats; 266 OwnPtr<StyleResolverStats> m_styleResolverStats;
268 unsigned m_styleForElementCount = 0; 267 unsigned m_styleForElementCount = 0;
269 268
270 friend class StyleEngineTest; 269 friend class StyleEngineTest;
271 }; 270 };
272 271
273 } // namespace blink 272 } // namespace blink
274 273
275 #endif 274 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698