[BlackBerry] Fix access to ResourceHandle::context
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 12:40:22 +0000 (12:40 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 12:40:22 +0000 (12:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110443

Patch by Alberto Garcia <albgarcia@rim.com> on 2013-02-21
Reviewed by Carlos Garcia Campos.

This changed in r141981.

* platform/network/blackberry/ResourceHandleBlackBerry.cpp:
(WebCore::ResourceHandle::start):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/blackberry/ResourceHandleBlackBerry.cpp

index 8deb542ef524476bc15a1654b5fb8eac525ee3ea..33c7d935d70216f499179c6ef3419fdb5b62cc2d 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-21  Alberto Garcia  <albgarcia@rim.com>
+
+        [BlackBerry] Fix access to ResourceHandle::context
+        https://bugs.webkit.org/show_bug.cgi?id=110443
+
+        Reviewed by Carlos Garcia Campos.
+
+        This changed in r141981.
+
+        * platform/network/blackberry/ResourceHandleBlackBerry.cpp:
+        (WebCore::ResourceHandle::start):
+
 2013-02-21  Alberto Garcia  <albgarcia@rim.com>
 
         [BlackBerry] GraphicsLayerBlackBerry: rename showDebugBorder to isShowingDebugBorder
 2013-02-21  Alberto Garcia  <albgarcia@rim.com>
 
         [BlackBerry] GraphicsLayerBlackBerry: rename showDebugBorder to isShowingDebugBorder
index 338935a197e45f17229944ca4ef94e50d36ce391..40582e0a16f6128700ccd497ab58abdf31233bbb 100644 (file)
@@ -113,7 +113,7 @@ bool ResourceHandle::start()
         return false;
 
     // FIXME: clean up use of Frame now that we have NetworkingContext (see RIM Bug #1515)
         return false;
 
     // FIXME: clean up use of Frame now that we have NetworkingContext (see RIM Bug #1515)
-    Frame* frame = static_cast<FrameNetworkingContextBlackBerry*>(context)->frame();
+    Frame* frame = static_cast<FrameNetworkingContextBlackBerry*>(d->m_context.get())->frame();
     if (!frame || !frame->loader() || !frame->loader()->client() || !client())
         return false;
     int playerId = static_cast<FrameLoaderClientBlackBerry*>(frame->loader()->client())->playerId();
     if (!frame || !frame->loader() || !frame->loader()->client() || !client())
         return false;
     int playerId = static_cast<FrameLoaderClientBlackBerry*>(frame->loader()->client())->playerId();