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

Side by Side Diff: Source/core/dom/StyleElement.h

Issue 203253006: Don't call ill-balanced removeStyleSheetCandidateNode() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Rob Buis 2 * Copyright (C) 2006, 2007 Rob Buis
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void childrenChanged(Element*); 53 void childrenChanged(Element*);
54 void finishParsingChildren(Element*); 54 void finishParsingChildren(Element*);
55 55
56 RefPtr<CSSStyleSheet> m_sheet; 56 RefPtr<CSSStyleSheet> m_sheet;
57 57
58 private: 58 private:
59 void createSheet(Element*, const String& text = String()); 59 void createSheet(Element*, const String& text = String());
60 void process(Element*); 60 void process(Element*);
61 void clearSheet(Element* ownerElement = 0); 61 void clearSheet(Element* ownerElement = 0);
62 62
63 bool m_createdByParser; 63 bool m_createdByParser : 1;
64 bool m_loading; 64 bool m_loading : 1;
65 bool m_registeredAsCandidate : 1;
65 TextPosition m_startPosition; 66 TextPosition m_startPosition;
66 }; 67 };
67 68
68 } 69 }
69 70
70 #endif 71 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLStyleElement/style-onload-remove-crash-expected.txt ('k') | Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698