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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // We use this count of pending sheets to detect when we can begin attaching 218 // We use this count of pending sheets to detect when we can begin attaching
219 // elements and when it is safe to execute scripts. 219 // elements and when it is safe to execute scripts.
220 int m_pendingStylesheets; 220 int m_pendingStylesheets;
221 221
222 mutable WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_injectedAutho rStyleSheets; 222 mutable WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_injectedAutho rStyleSheets;
223 mutable bool m_injectedStyleSheetCacheValid; 223 mutable bool m_injectedStyleSheetCacheValid;
224 224
225 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_authorStyleSheets; 225 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_authorStyleSheets;
226 226
227 DocumentStyleSheetCollection m_documentStyleSheetCollection; 227 DocumentStyleSheetCollection m_documentStyleSheetCollection;
228 WillBeHeapHashMap<TreeScope*, OwnPtrWillBeMember<ShadowTreeStyleSheetCollect ion> > m_styleSheetCollectionMap; 228 typedef WillBeHeapHashMap<RawPtrWillBeWeakMember<TreeScope>, OwnPtrWillBeMem ber<ShadowTreeStyleSheetCollection> > StyleSheetCollectionMap;
229 StyleSheetCollectionMap m_styleSheetCollectionMap;
229 230
230 bool m_documentScopeDirty; 231 bool m_documentScopeDirty;
231 TreeScopeSet m_dirtyTreeScopes; 232 TreeScopeSet m_dirtyTreeScopes;
232 TreeScopeSet m_activeTreeScopes; 233 TreeScopeSet m_activeTreeScopes;
233 234
234 String m_preferredStylesheetSetName; 235 String m_preferredStylesheetSetName;
235 String m_selectedStylesheetSetName; 236 String m_selectedStylesheetSetName;
236 237
237 bool m_usesSiblingRules; 238 bool m_usesSiblingRules;
238 bool m_usesSiblingRulesOverride; 239 bool m_usesSiblingRulesOverride;
239 bool m_usesFirstLineRules; 240 bool m_usesFirstLineRules;
240 bool m_usesFirstLetterRules; 241 bool m_usesFirstLetterRules;
241 bool m_usesRemUnits; 242 bool m_usesRemUnits;
242 unsigned m_maxDirectAdjacentSelectors; 243 unsigned m_maxDirectAdjacentSelectors;
243 244
244 bool m_ignorePendingStylesheets; 245 bool m_ignorePendingStylesheets;
245 bool m_didCalculateResolver; 246 bool m_didCalculateResolver;
246 OwnPtrWillBeMember<StyleResolver> m_resolver; 247 OwnPtrWillBeMember<StyleResolver> m_resolver;
247 248
248 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 249 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
249 250
250 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache; 251 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache;
251 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 252 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
252 }; 253 };
253 254
254 } 255 }
255 256
256 #endif 257 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698