Index: Source/WebCore/loader/FrameLoader.cpp |
=================================================================== |
--- Source/WebCore/loader/FrameLoader.cpp (revision 130512) |
+++ Source/WebCore/loader/FrameLoader.cpp (working copy) |
@@ -1711,7 +1711,7 @@ |
transitionToCommitted(cachedPage); |
- if (pdl) { |
+ if (pdl && m_documentLoader) { |
// Check if the destination page is allowed to access the previous page's timing information. |
RefPtr<SecurityOrigin> securityOrigin = SecurityOrigin::create(pdl->request().url()); |
m_documentLoader->timing()->setHasSameOriginAsPreviousDocument(securityOrigin->canRequest(m_previousUrl)); |