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

Unified Diff: Source/core/inspector/InspectorResourceContentLoader.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorResourceContentLoader.cpp
diff --git a/Source/core/inspector/InspectorResourceContentLoader.cpp b/Source/core/inspector/InspectorResourceContentLoader.cpp
index 7590581b6a5c57f52331f21ee927e695f3591ee6..fdfe99edb69454f0147b2a15965e56ffcb4abdfe 100644
--- a/Source/core/inspector/InspectorResourceContentLoader.cpp
+++ b/Source/core/inspector/InspectorResourceContentLoader.cpp
@@ -52,9 +52,9 @@ InspectorResourceContentLoader::InspectorResourceContentLoader(Page* page)
resource->addClient(static_cast<RawResourceClient*>(this));
}
- Vector<CSSStyleSheet*> styleSheets;
+ WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> > styleSheets;
InspectorCSSAgent::collectAllDocumentStyleSheets(document, styleSheets);
- for (Vector<CSSStyleSheet*>::const_iterator it2 = styleSheets.begin(); it2 != styleSheets.end(); ++it2) {
+ for (WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> >::const_iterator it2 = styleSheets.begin(); it2 != styleSheets.end(); ++it2) {
CSSStyleSheet* styleSheet = *it2;
if (styleSheet->isInline() || !styleSheet->contents()->loadCompleted())
continue;

Powered by Google App Engine
This is Rietveld 408576698