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

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

Issue 196513007: Oilpan: Reapply: Remove all the RefPtrs and most of the raw pointers to style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix assertion for global persistents 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
« no previous file with comments | « Source/core/dom/ShadowTreeStyleSheetCollection.h ('k') | Source/core/dom/StyleElement.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 * 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool sheetLoaded(Document&); 46 bool sheetLoaded(Document&);
47 void startLoadingDynamicSheet(Document&); 47 void startLoadingDynamicSheet(Document&);
48 48
49 void processStyleSheet(Document&, Element*); 49 void processStyleSheet(Document&, Element*);
50 void removedFromDocument(Document&, Element*); 50 void removedFromDocument(Document&, Element*);
51 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr eeScope&); 51 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr eeScope&);
52 void clearDocumentData(Document&, Element*); 52 void clearDocumentData(Document&, Element*);
53 void childrenChanged(Element*); 53 void childrenChanged(Element*);
54 void finishParsingChildren(Element*); 54 void finishParsingChildren(Element*);
55 55
56 RefPtr<CSSStyleSheet> m_sheet; 56 RefPtrWillBePersistent<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;
64 bool m_loading; 64 bool m_loading;
65 TextPosition m_startPosition; 65 TextPosition m_startPosition;
66 }; 66 };
67 67
68 } 68 }
69 69
70 #endif 70 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ShadowTreeStyleSheetCollection.h ('k') | Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698