Index: Source/core/inspector/InspectorResourceContentLoader.cpp |
diff --git a/Source/core/inspector/InspectorResourceContentLoader.cpp b/Source/core/inspector/InspectorResourceContentLoader.cpp |
index 7d7db6b541338eabfdffc594f594a90ff3fac1f3..f8289bb2f26f61e42a99683aa7c5fb29d73465c1 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; |