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

Side by Side Diff: Source/core/inspector/InspectorCSSAgent.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/html/HTMLLinkElement.cpp ('k') | Source/core/inspector/InspectorStyleSheet.h » ('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) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 IdToInspectorStyleSheet m_idToInspectorStyleSheet; 195 IdToInspectorStyleSheet m_idToInspectorStyleSheet;
196 HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > m_cssStyleSheetToInspe ctorStyleSheet; 196 HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > m_cssStyleSheetToInspe ctorStyleSheet;
197 typedef HashMap<Document*, OwnPtr<HashSet<CSSStyleSheet*> > > DocumentStyleS heets; 197 typedef HashMap<Document*, OwnPtr<HashSet<CSSStyleSheet*> > > DocumentStyleS heets;
198 DocumentStyleSheets m_documentToCSSStyleSheets; 198 DocumentStyleSheets m_documentToCSSStyleSheets;
199 HashSet<Document*> m_invalidatedDocuments; 199 HashSet<Document*> m_invalidatedDocuments;
200 200
201 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet; 201 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet;
202 HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > m_documentToViaInspe ctorStyleSheet; // "via inspector" stylesheets 202 HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > m_documentToViaInspe ctorStyleSheet; // "via inspector" stylesheets
203 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState; 203 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState;
204 204
205 RefPtr<CSSStyleSheet> m_inspectorUserAgentStyleSheet; 205 RefPtrWillBePersistent<CSSStyleSheet> m_inspectorUserAgentStyleSheet;
206 206
207 int m_lastStyleSheetId; 207 int m_lastStyleSheetId;
208 int m_styleSheetsPendingMutation; 208 int m_styleSheetsPendingMutation;
209 bool m_styleDeclarationPendingMutation; 209 bool m_styleDeclarationPendingMutation;
210 bool m_creatingViaInspectorStyleSheet; 210 bool m_creatingViaInspectorStyleSheet;
211 bool m_isSettingStyleSheetText; 211 bool m_isSettingStyleSheetText;
212 212
213 friend class EnableResourceClient; 213 friend class EnableResourceClient;
214 friend class StyleSheetBinder; 214 friend class StyleSheetBinder;
215 }; 215 };
216 216
217 217
218 } // namespace WebCore 218 } // namespace WebCore
219 219
220 #endif // !defined(InspectorCSSAgent_h) 220 #endif // !defined(InspectorCSSAgent_h)
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/inspector/InspectorStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698