2010-07-16 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / WebCore / loader / FrameLoader.cpp
index 51a069509b7e98ff2aa9ae2a873640e18642dad2..361e9cd2e63df280c77ada17dd729bbb05f67aac 100644 (file)
@@ -2333,6 +2333,9 @@ bool FrameLoader::subframeIsLoading() const
         documentLoader = childLoader->provisionalDocumentLoader();
         if (documentLoader && documentLoader->isLoadingInAPISense())
             return true;
+        documentLoader = childLoader->policyDocumentLoader();
+        if (documentLoader)
+            return true;
     }
     return false;
 }