Fix Release builds.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 17:25:41 +0000 (17:25 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 17:25:41 +0000 (17:25 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150270 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm

index b093afaf7b2286d9f3f0bd999484c7f5b7d443a3..eaa1cad27c19165abf9d4ee52cb5568ae1ba573a 100644 (file)
@@ -2037,7 +2037,9 @@ PassRefPtr<FrameNetworkingContext> WebFrameLoaderClient::createNetworkingContext
     if (!frame)
         return;
 
+#if !ASSERT_DISABLED
     FramePolicyFunction policyFunction = _policyFunction;
+#endif
     _policyFunction = nullptr;
 
     ASSERT(policyFunction);