| OLD | NEW |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class StyleRuleFontFace; | 51 class StyleRuleFontFace; |
| 52 class StyleSheet; | 52 class StyleSheet; |
| 53 class StyleSheetContents; | 53 class StyleSheetContents; |
| 54 | 54 |
| 55 class StyleEngine final : public CSSFontSelectorClient { | 55 class StyleEngine final : public CSSFontSelectorClient { |
| 56 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 56 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 57 public: | 57 public: |
| 58 | 58 |
| 59 class IgnoringPendingStylesheet : public TemporaryChange<bool> { | 59 class IgnoringPendingStylesheet : public TemporaryChange<bool> { |
| 60 public: | 60 public: |
| 61 IgnoringPendingStylesheet(StyleEngine* engine) | 61 IgnoringPendingStylesheet(StyleEngine& engine) |
| 62 : TemporaryChange<bool>(engine->m_ignorePendingStylesheets, true) | 62 : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true) |
| 63 { | 63 { |
| 64 } | 64 } |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 friend class IgnoringPendingStylesheet; | 67 friend class IgnoringPendingStylesheet; |
| 68 | 68 |
| 69 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } | 69 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu
rn adoptPtrWillBeNoop(new StyleEngine(document)); } |
| 70 | 70 |
| 71 ~StyleEngine(); | 71 ~StyleEngine(); |
| 72 | 72 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 297 |
| 298 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 298 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
| 299 | 299 |
| 300 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; | 300 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t
extToSheetCache; |
| 301 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 301 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
| 302 }; | 302 }; |
| 303 | 303 |
| 304 } | 304 } |
| 305 | 305 |
| 306 #endif | 306 #endif |
| OLD | NEW |