| 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, 2011, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "core/dom/StyleChangeReason.h" | 45 #include "core/dom/StyleChangeReason.h" |
| 46 #include "core/dom/shadow/ShadowRoot.h" | 46 #include "core/dom/shadow/ShadowRoot.h" |
| 47 #include "core/frame/Settings.h" | 47 #include "core/frame/Settings.h" |
| 48 #include "core/html/HTMLIFrameElement.h" | 48 #include "core/html/HTMLIFrameElement.h" |
| 49 #include "core/html/HTMLLinkElement.h" | 49 #include "core/html/HTMLLinkElement.h" |
| 50 #include "core/html/HTMLSlotElement.h" | 50 #include "core/html/HTMLSlotElement.h" |
| 51 #include "core/html/imports/HTMLImportsController.h" | 51 #include "core/html/imports/HTMLImportsController.h" |
| 52 #include "core/inspector/InspectorInstrumentation.h" | 52 #include "core/inspector/InspectorInstrumentation.h" |
| 53 #include "core/page/Page.h" | 53 #include "core/page/Page.h" |
| 54 #include "core/svg/SVGStyleElement.h" | 54 #include "core/svg/SVGStyleElement.h" |
| 55 #include "platform/TraceEvent.h" | |
| 56 #include "platform/fonts/FontCache.h" | 55 #include "platform/fonts/FontCache.h" |
| 56 #include "platform/tracing/TraceEvent.h" |
| 57 | 57 |
| 58 namespace blink { | 58 namespace blink { |
| 59 | 59 |
| 60 using namespace HTMLNames; | 60 using namespace HTMLNames; |
| 61 | 61 |
| 62 StyleEngine::StyleEngine(Document& document) | 62 StyleEngine::StyleEngine(Document& document) |
| 63 : m_document(&document), | 63 : m_document(&document), |
| 64 m_isMaster(!document.importsController() || | 64 m_isMaster(!document.importsController() || |
| 65 document.importsController()->master() == &document), | 65 document.importsController()->master() == &document), |
| 66 m_documentStyleSheetCollection( | 66 m_documentStyleSheetCollection( |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 } | 964 } |
| 965 | 965 |
| 966 DEFINE_TRACE_WRAPPERS(StyleEngine) { | 966 DEFINE_TRACE_WRAPPERS(StyleEngine) { |
| 967 for (auto sheet : m_injectedAuthorStyleSheets) { | 967 for (auto sheet : m_injectedAuthorStyleSheets) { |
| 968 visitor->traceWrappers(sheet); | 968 visitor->traceWrappers(sheet); |
| 969 } | 969 } |
| 970 visitor->traceWrappers(m_documentStyleSheetCollection); | 970 visitor->traceWrappers(m_documentStyleSheetCollection); |
| 971 } | 971 } |
| 972 | 972 |
| 973 } // namespace blink | 973 } // namespace blink |
| OLD | NEW |