webengine/osswebengine/WebCore/platform/network/symbian/ResolvedConnection.cpp
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/webengine/osswebengine/WebCore/platform/network/symbian/ResolvedConnection.cpp	Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/network/symbian/ResolvedConnection.cpp	Wed Sep 01 12:28:30 2010 +0100
@@ -20,7 +20,7 @@
 #include "ResolvedConnection.h"
 #include "ResourceRequest.h"
 
-#include "BrCtl.h"
+#include "Brctl.h"
 #include "WebFrame.h"
 
 // EXTERNAL DATA STRUCTURES
@@ -82,7 +82,9 @@
 
 void ResolvedConnection::cancel()
 {
-    control(m_frame)->brCtlLinkResolver()->CancelAll();
+	  if(m_frame) {
+        control(m_frame)->brCtlLinkResolver()->CancelAll();
+    }
 }
 
 void ResolvedConnection::download(ResourceHandle* handle,