Index: Source/core/inspector/InspectorResourceContentLoader.cpp |
diff --git a/Source/core/inspector/InspectorResourceContentLoader.cpp b/Source/core/inspector/InspectorResourceContentLoader.cpp |
index 32ca861fba5bd55b5bbfcd45f09cf42b5e7507ac..b626773a4d5c8988d1e1f70212c9e4d0501ac9b3 100644 |
--- a/Source/core/inspector/InspectorResourceContentLoader.cpp |
+++ b/Source/core/inspector/InspectorResourceContentLoader.cpp |
@@ -64,9 +64,9 @@ InspectorResourceContentLoader::InspectorResourceContentLoader(Page* page) |
Document* document = *documentIt; |
HashSet<String> urlsToFetch; |
- Vector<CSSStyleSheet*> styleSheets; |
+ WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> > styleSheets; |
InspectorCSSAgent::collectAllDocumentStyleSheets(document, styleSheets); |
- for (Vector<CSSStyleSheet*>::const_iterator stylesheetIt = styleSheets.begin(); stylesheetIt != styleSheets.end(); ++stylesheetIt) { |
+ for (WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> >::const_iterator stylesheetIt = styleSheets.begin(); stylesheetIt != styleSheets.end(); ++stylesheetIt) { |
CSSStyleSheet* styleSheet = *stylesheetIt; |
if (styleSheet->isInline() || !styleSheet->contents()->loadCompleted()) |
continue; |