Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp

Issue 2387263004: Manually remove many instances of a comma quirk arising from the reformat. (Closed)
Patch Set: merge with master; thakis nit Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 XSLStyleSheet::XSLStyleSheet(Node* parentNode, 56 XSLStyleSheet::XSLStyleSheet(Node* parentNode,
57 const String& originalURL, 57 const String& originalURL,
58 const KURL& finalURL, 58 const KURL& finalURL,
59 bool embedded) 59 bool embedded)
60 : m_ownerNode(parentNode), 60 : m_ownerNode(parentNode),
61 m_originalURL(originalURL), 61 m_originalURL(originalURL),
62 m_finalURL(finalURL), 62 m_finalURL(finalURL),
63 m_isDisabled(false), 63 m_isDisabled(false),
64 m_embedded(embedded), 64 m_embedded(embedded),
65 m_processed(true) // The root sheet starts off processed. 65 m_processed(true), // The root sheet starts off processed.
66 ,
67 m_stylesheetDoc(0), 66 m_stylesheetDoc(0),
68 m_stylesheetDocTaken(false), 67 m_stylesheetDocTaken(false),
69 m_compilationFailed(false), 68 m_compilationFailed(false),
70 m_parentStyleSheet(nullptr), 69 m_parentStyleSheet(nullptr),
71 m_ownerDocument(nullptr) {} 70 m_ownerDocument(nullptr) {}
72 71
73 XSLStyleSheet::XSLStyleSheet(Document* ownerDocument, 72 XSLStyleSheet::XSLStyleSheet(Document* ownerDocument,
74 Node* styleSheetRootNode, 73 Node* styleSheetRootNode,
75 const String& originalURL, 74 const String& originalURL,
76 const KURL& finalURL, 75 const KURL& finalURL,
77 bool embedded) 76 bool embedded)
78 : m_ownerNode(styleSheetRootNode), 77 : m_ownerNode(styleSheetRootNode),
79 m_originalURL(originalURL), 78 m_originalURL(originalURL),
80 m_finalURL(finalURL), 79 m_finalURL(finalURL),
81 m_isDisabled(false), 80 m_isDisabled(false),
82 m_embedded(embedded), 81 m_embedded(embedded),
83 m_processed(true) // The root sheet starts off processed. 82 m_processed(true), // The root sheet starts off processed.
84 ,
85 m_stylesheetDoc(0), 83 m_stylesheetDoc(0),
86 m_stylesheetDocTaken(false), 84 m_stylesheetDocTaken(false),
87 m_compilationFailed(false), 85 m_compilationFailed(false),
88 m_parentStyleSheet(nullptr), 86 m_parentStyleSheet(nullptr),
89 m_ownerDocument(ownerDocument) {} 87 m_ownerDocument(ownerDocument) {}
90 88
91 XSLStyleSheet::~XSLStyleSheet() { 89 XSLStyleSheet::~XSLStyleSheet() {
92 if (!m_stylesheetDocTaken) 90 if (!m_stylesheetDocTaken)
93 xmlFreeDoc(m_stylesheetDoc); 91 xmlFreeDoc(m_stylesheetDoc);
94 } 92 }
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 310
313 DEFINE_TRACE(XSLStyleSheet) { 311 DEFINE_TRACE(XSLStyleSheet) {
314 visitor->trace(m_ownerNode); 312 visitor->trace(m_ownerNode);
315 visitor->trace(m_children); 313 visitor->trace(m_children);
316 visitor->trace(m_parentStyleSheet); 314 visitor->trace(m_parentStyleSheet);
317 visitor->trace(m_ownerDocument); 315 visitor->trace(m_ownerDocument);
318 StyleSheet::trace(visitor); 316 StyleSheet::trace(visitor);
319 } 317 }
320 318
321 } // namespace blink 319 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698