Index: Source/core/inspector/InspectorResourceContentLoader.cpp |
diff --git a/Source/core/inspector/InspectorResourceContentLoader.cpp b/Source/core/inspector/InspectorResourceContentLoader.cpp |
index 87a01b085aba7cc2a79e54942b632c3d9224d998..5631afdb8ea80bf00ebe3cd0263cbcc5b09ebb16 100644 |
--- a/Source/core/inspector/InspectorResourceContentLoader.cpp |
+++ b/Source/core/inspector/InspectorResourceContentLoader.cpp |
@@ -118,9 +118,9 @@ void InspectorResourceContentLoader::start() |
} |
} |
- 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; |