| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "core/css/StyleSheetContents.h" | 35 #include "core/css/StyleSheetContents.h" |
| 36 #include "core/dom/FullscreenElementStack.h" | 36 #include "core/dom/FullscreenElementStack.h" |
| 37 #include "core/html/HTMLAnchorElement.h" | 37 #include "core/html/HTMLAnchorElement.h" |
| 38 #include "core/html/HTMLHtmlElement.h" | 38 #include "core/html/HTMLHtmlElement.h" |
| 39 #include "core/rendering/RenderTheme.h" | 39 #include "core/rendering/RenderTheme.h" |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 using namespace HTMLNames; | 43 using namespace HTMLNames; |
| 44 | 44 |
| 45 DEFINE_GC_INFO(CSSDefaultStyleSheets); | |
| 46 | |
| 47 CSSDefaultStyleSheets& CSSDefaultStyleSheets::instance() | 45 CSSDefaultStyleSheets& CSSDefaultStyleSheets::instance() |
| 48 { | 46 { |
| 49 #if ENABLE(OILPAN) | 47 #if ENABLE(OILPAN) |
| 50 DEFINE_STATIC_LOCAL(Persistent<CSSDefaultStyleSheets>, cssDefaultStyleSheets
, (new CSSDefaultStyleSheets())); | 48 DEFINE_STATIC_LOCAL(Persistent<CSSDefaultStyleSheets>, cssDefaultStyleSheets
, (new CSSDefaultStyleSheets())); |
| 51 return *cssDefaultStyleSheets; | 49 return *cssDefaultStyleSheets; |
| 52 #else | 50 #else |
| 53 DEFINE_STATIC_LOCAL(CSSDefaultStyleSheets, cssDefaultStyleSheets, ()); | 51 DEFINE_STATIC_LOCAL(CSSDefaultStyleSheets, cssDefaultStyleSheets, ()); |
| 54 return cssDefaultStyleSheets; | 52 return cssDefaultStyleSheets; |
| 55 #endif | 53 #endif |
| 56 } | 54 } |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 { | 174 { |
| 177 visitor->trace(m_defaultStyleSheet); | 175 visitor->trace(m_defaultStyleSheet); |
| 178 visitor->trace(m_viewportStyleSheet); | 176 visitor->trace(m_viewportStyleSheet); |
| 179 visitor->trace(m_quirksStyleSheet); | 177 visitor->trace(m_quirksStyleSheet); |
| 180 visitor->trace(m_svgStyleSheet); | 178 visitor->trace(m_svgStyleSheet); |
| 181 visitor->trace(m_mediaControlsStyleSheet); | 179 visitor->trace(m_mediaControlsStyleSheet); |
| 182 visitor->trace(m_fullscreenStyleSheet); | 180 visitor->trace(m_fullscreenStyleSheet); |
| 183 } | 181 } |
| 184 | 182 |
| 185 } // namespace WebCore | 183 } // namespace WebCore |
| OLD | NEW |