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