OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
3 * | 3 * |
4 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 XSLStyleSheet::XSLStyleSheet(XSLImportRule* parentRule, | 39 XSLStyleSheet::XSLStyleSheet(XSLImportRule* parentRule, |
40 const String& originalURL, | 40 const String& originalURL, |
41 const KURL& finalURL) | 41 const KURL& finalURL) |
42 : m_ownerNode(nullptr), | 42 : m_ownerNode(nullptr), |
43 m_originalURL(originalURL), | 43 m_originalURL(originalURL), |
44 m_finalURL(finalURL), | 44 m_finalURL(finalURL), |
45 m_isDisabled(false), | 45 m_isDisabled(false), |
46 m_embedded(false) | 46 m_embedded(false), |
47 // Child sheets get marked as processed when the libxslt engine has finall
y | 47 // Child sheets get marked as processed when the libxslt engine has |
48 // seen them. | 48 // finally seen them. |
49 , | |
50 m_processed(false), | 49 m_processed(false), |
51 m_stylesheetDoc(0), | 50 m_stylesheetDoc(0), |
52 m_stylesheetDocTaken(false), | 51 m_stylesheetDocTaken(false), |
53 m_compilationFailed(false), | 52 m_compilationFailed(false), |
54 m_parentStyleSheet(parentRule ? parentRule->parentStyleSheet() : 0), | 53 m_parentStyleSheet(parentRule ? parentRule->parentStyleSheet() : 0), |
55 m_ownerDocument(nullptr) {} | 54 m_ownerDocument(nullptr) {} |
56 | 55 |
57 XSLStyleSheet::XSLStyleSheet(Node* parentNode, | 56 XSLStyleSheet::XSLStyleSheet(Node* parentNode, |
58 const String& originalURL, | 57 const String& originalURL, |
59 const KURL& finalURL, | 58 const KURL& finalURL, |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 312 |
314 DEFINE_TRACE(XSLStyleSheet) { | 313 DEFINE_TRACE(XSLStyleSheet) { |
315 visitor->trace(m_ownerNode); | 314 visitor->trace(m_ownerNode); |
316 visitor->trace(m_children); | 315 visitor->trace(m_children); |
317 visitor->trace(m_parentStyleSheet); | 316 visitor->trace(m_parentStyleSheet); |
318 visitor->trace(m_ownerDocument); | 317 visitor->trace(m_ownerDocument); |
319 StyleSheet::trace(visitor); | 318 StyleSheet::trace(visitor); |
320 } | 319 } |
321 | 320 |
322 } // namespace blink | 321 } // namespace blink |
OLD | NEW |