| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 56 } | 56 } | 
| 57 | 57 | 
| 58 static const MediaQueryEvaluator& printEval() | 58 static const MediaQueryEvaluator& printEval() | 
| 59 { | 59 { | 
| 60     DEFINE_STATIC_LOCAL(MediaQueryEvaluator, staticPrintEval, (new MediaQueryEva
     luator("print"))); | 60     DEFINE_STATIC_LOCAL(MediaQueryEvaluator, staticPrintEval, (new MediaQueryEva
     luator("print"))); | 
| 61     return staticPrintEval; | 61     return staticPrintEval; | 
| 62 } | 62 } | 
| 63 | 63 | 
| 64 static StyleSheetContents* parseUASheet(const String& str) | 64 static StyleSheetContents* parseUASheet(const String& str) | 
| 65 { | 65 { | 
| 66     StyleSheetContents* sheet = StyleSheetContents::create(CSSParserContext(UASh
     eetMode, 0)); | 66     StyleSheetContents* sheet = StyleSheetContents::create(CSSParserContext(UASh
     eetMode, nullptr)); | 
| 67     sheet->parseString(str); | 67     sheet->parseString(str); | 
| 68     // User Agent stylesheets are parsed once for the lifetime of the renderer | 68     // User Agent stylesheets are parsed once for the lifetime of the renderer | 
| 69     // process and are intentionally leaked. | 69     // process and are intentionally leaked. | 
| 70     LEAK_SANITIZER_IGNORE_OBJECT(sheet); | 70     LEAK_SANITIZER_IGNORE_OBJECT(sheet); | 
| 71     return sheet; | 71     return sheet; | 
| 72 } | 72 } | 
| 73 | 73 | 
| 74 CSSDefaultStyleSheets::CSSDefaultStyleSheets() | 74 CSSDefaultStyleSheets::CSSDefaultStyleSheets() | 
| 75     : m_defaultStyle(nullptr) | 75     : m_defaultStyle(nullptr) | 
| 76     , m_defaultMobileViewportStyle(nullptr) | 76     , m_defaultMobileViewportStyle(nullptr) | 
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 205     visitor->trace(m_mobileViewportStyleSheet); | 205     visitor->trace(m_mobileViewportStyleSheet); | 
| 206     visitor->trace(m_televisionViewportStyleSheet); | 206     visitor->trace(m_televisionViewportStyleSheet); | 
| 207     visitor->trace(m_quirksStyleSheet); | 207     visitor->trace(m_quirksStyleSheet); | 
| 208     visitor->trace(m_svgStyleSheet); | 208     visitor->trace(m_svgStyleSheet); | 
| 209     visitor->trace(m_mathmlStyleSheet); | 209     visitor->trace(m_mathmlStyleSheet); | 
| 210     visitor->trace(m_mediaControlsStyleSheet); | 210     visitor->trace(m_mediaControlsStyleSheet); | 
| 211     visitor->trace(m_fullscreenStyleSheet); | 211     visitor->trace(m_fullscreenStyleSheet); | 
| 212 } | 212 } | 
| 213 | 213 | 
| 214 } // namespace blink | 214 } // namespace blink | 
| OLD | NEW | 
|---|