Index: Source/WebCore/dom/Document.cpp |
=================================================================== |
--- Source/WebCore/dom/Document.cpp (revision 89068) |
+++ Source/WebCore/dom/Document.cpp (working copy) |
@@ -4279,7 +4279,7 @@ |
if (!m_documentTiming.domContentLoadedEventEnd) |
m_documentTiming.domContentLoadedEventEnd = currentTime(); |
- if (Frame* f = frame()) { |
+ if (RefPtr<Frame> f = frame()) { |
// FrameLoader::finishedParsing() might end up calling Document::implicitClose() if all |
// resource loads are complete. HTMLObjectElements can start loading their resources from |
// post attach callbacks triggered by recalcStyle(). This means if we parse out an <object> |
@@ -4291,7 +4291,7 @@ |
f->loader()->finishedParsing(); |
- InspectorInstrumentation::domContentLoadedEventFired(f, url()); |
+ InspectorInstrumentation::domContentLoadedEventFired(f.get(), url()); |
} |
} |