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 c5b90833586a910d8ed2c0d8f567e32b7d1bd25d..b9a4a344130e8add5bf03516c50c50334c6cc12f 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -319,6 +319,9 @@ void DocumentLoader::finishedLoading(double finishTime) |
commitData(0, 0); |
} |
+ if (!m_frame) |
+ return; |
+ |
m_applicationCacheHost->finishedLoadingMainResource(); |
endWriting(m_writer.get()); |
if (m_state < MainResourceDone) |