[Blackberry] m_isRequestedByPlugin should be copied in ResourceRequest
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2012 10:33:22 +0000 (10:33 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2012 10:33:22 +0000 (10:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=83447

Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-04-09
Reviewed by George Staikos.

It is an obvious error, We should copy m_isRequestedByPlugin in ResourceReuest.

No new tests, because those existing plugin test cases are enough.

* platform/network/blackberry/ResourceRequestBlackBerry.cpp:
(WebCore::ResourceRequest::doPlatformCopyData):
(WebCore::ResourceRequest::doPlatformAdopt):

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

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

index 0a7c453..11a5aeb 100644 (file)
@@ -1,3 +1,18 @@
+2012-04-09  Chris Guan  <chris.guan@torchmobile.com.cn>
+
+        [Blackberry] m_isRequestedByPlugin should be copied in ResourceRequest
+        https://bugs.webkit.org/show_bug.cgi?id=83447
+
+        Reviewed by George Staikos.
+
+        It is an obvious error, We should copy m_isRequestedByPlugin in ResourceReuest.
+
+        No new tests, because those existing plugin test cases are enough.
+
+        * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
+        (WebCore::ResourceRequest::doPlatformCopyData):
+        (WebCore::ResourceRequest::doPlatformAdopt):
+
 2012-04-09  'Pavel Feldman'  <pfeldman@chromium.org>
 
         Not reviewed: fixing inspector front-end compilation that has been broken by the
index 97d6b28..6a7890b 100644 (file)
@@ -230,6 +230,7 @@ PassOwnPtr<CrossThreadResourceRequestData> ResourceRequest::doPlatformCopyData(P
     data->m_anchorText = m_anchorText;
     data->m_isXMLHTTPRequest = m_isXMLHTTPRequest;
     data->m_mustHandleInternally = m_mustHandleInternally;
+    data->m_isRequestedByPlugin = m_isRequestedByPlugin;
     return data;
 }
 
@@ -239,6 +240,7 @@ void ResourceRequest::doPlatformAdopt(PassOwnPtr<CrossThreadResourceRequestData>
     m_anchorText = data->m_anchorText;
     m_isXMLHTTPRequest = data->m_isXMLHTTPRequest;
     m_mustHandleInternally = data->m_mustHandleInternally;
+    m_isRequestedByPlugin = data->m_isRequestedByPlugin;
     m_forceDownload = data->m_forceDownload;
 }