| Index: Source/WebCore/dom/Document.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/Document.cpp (revision 89067)
|
| +++ Source/WebCore/dom/Document.cpp (working copy)
|
| @@ -4209,7 +4209,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>
|
| @@ -4221,7 +4221,7 @@
|
|
|
| f->loader()->finishedParsing();
|
|
|
| - InspectorInstrumentation::domContentLoadedEventFired(f, url());
|
| + InspectorInstrumentation::domContentLoadedEventFired(f.get(), url());
|
| }
|
| }
|
|
|
|
|