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

Side by Side Diff: Source/core/xml/XSLStyleSheet.h

Issue 23103007: Avoid reparsing an XSLT stylesheet after the first failure. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/svg/custom/invalid-xslt-crash.svg ('k') | Source/core/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2006, 2008, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 KURL m_finalURL; 104 KURL m_finalURL;
105 bool m_isDisabled; 105 bool m_isDisabled;
106 106
107 Vector<OwnPtr<XSLImportRule> > m_children; 107 Vector<OwnPtr<XSLImportRule> > m_children;
108 108
109 bool m_embedded; 109 bool m_embedded;
110 bool m_processed; 110 bool m_processed;
111 111
112 xmlDocPtr m_stylesheetDoc; 112 xmlDocPtr m_stylesheetDoc;
113 bool m_stylesheetDocTaken; 113 bool m_stylesheetDocTaken;
114 bool m_compilationFailed;
114 115
115 XSLStyleSheet* m_parentStyleSheet; 116 XSLStyleSheet* m_parentStyleSheet;
116 }; 117 };
117 118
118 } // namespace WebCore 119 } // namespace WebCore
119 120
120 #endif // XSLStyleSheet_h 121 #endif // XSLStyleSheet_h
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/invalid-xslt-crash.svg ('k') | Source/core/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698