Index: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
index 5ce3fd9a73b8d4ca7bd8c4dce209cf5151d852e4..0a308187fab5c8b9650b7467865d89105435e866 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
@@ -93,7 +93,8 @@ void InspectorResourceContentLoader::start() |
{ |
m_started = true; |
WillBeHeapVector<RawPtrWillBeMember<Document>> documents; |
- for (LocalFrame* frame : InspectedFrames(m_inspectedFrame)) { |
+ OwnPtrWillBeRawPtr<InspectedFrames> inspectedFrames = InspectedFrames::create(m_inspectedFrame); |
+ for (LocalFrame* frame : *inspectedFrames) { |
documents.append(frame->document()); |
documents.appendVector(InspectorPageAgent::importsForFrame(frame)); |
} |