Try to fix the debug build after r130699
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2012 00:02:53 +0000 (00:02 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2012 00:02:53 +0000 (00:02 +0000)
Move the assignment of the ResourceHandleInternal local to before
the include statement where it is used.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::createSoupMessageForHandleAndRequest):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

index e4352a1..27ee342 100644 (file)
@@ -1,3 +1,13 @@
+2012-10-08  Martin Robinson  <mrobinson@igalia.com>
+
+        Try to fix the debug build after r130699
+
+        Move the assignment of the ResourceHandleInternal local to before
+        the include statement where it is used.
+
+        * platform/network/soup/ResourceHandleSoup.cpp:
+        (WebCore::createSoupMessageForHandleAndRequest):
+
 2012-10-08  Nate Chapin  <japhet@chromium.org>
 
         Post-r130226 Cleanup: Comment a complicated if statement and make it a helper.
 2012-10-08  Nate Chapin  <japhet@chromium.org>
 
         Post-r130226 Cleanup: Comment a complicated if statement and make it a helper.
index d135ae3..5871c2a 100644 (file)
@@ -686,10 +686,10 @@ static void setSoupRequestInitiaingPageID(SoupRequest* request, uint64_t initiat
 
 static bool createSoupMessageForHandleAndRequest(ResourceHandle* handle, const ResourceRequest& request)
 {
 
 static bool createSoupMessageForHandleAndRequest(ResourceHandle* handle, const ResourceRequest& request)
 {
+    ResourceHandleInternal* d = handle->getInternal();
     ASSERT(handle);
     ASSERT(d->m_soupRequest);
 
     ASSERT(handle);
     ASSERT(d->m_soupRequest);
 
-    ResourceHandleInternal* d = handle->getInternal();
     d->m_soupMessage = adoptGRef(soup_request_http_get_message(SOUP_REQUEST_HTTP(d->m_soupRequest.get())));
     if (!d->m_soupMessage)
         return false;
     d->m_soupMessage = adoptGRef(soup_request_http_get_message(SOUP_REQUEST_HTTP(d->m_soupRequest.get())));
     if (!d->m_soupMessage)
         return false;