Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
index 8868bda7f8631457ea7dd08ca2a25a180ed7d1a6..3174db9c2d4fe40c4af611ad267f8fde9c93c1db 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -305,6 +305,9 @@ void DocumentLoader::finishedLoading(double finishTime) |
commitData(0, 0); |
} |
+ if (!m_frame) |
+ return; |
+ |
m_applicationCacheHost->finishedLoadingMainResource(); |
endWriting(m_writer.get()); |
if (m_state < MainResourceDone) |