Title: [105121] trunk/Source/WebCore
Revision
105121
Author
[email protected]
Date
2012-01-16 19:35:24 -0800 (Mon, 16 Jan 2012)

Log Message

platformRequest(QNX) need to get the conditional information from ResourceRequest.
https://bugs.webkit.org/show_bug.cgi?id=75216

Patch by Jason Liu <[email protected]> on 2012-01-16
Reviewed by George Staikos.

Pass the isConditional() flag in ResourceRequest to the QNX platform's network request.
QNX platform's network needs this flag to determine whether to use disk-cache.

* platform/network/blackberry/ResourceRequestBlackBerry.cpp:
(ResourceRequest::initializePlatformRequest):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (105120 => 105121)


--- trunk/Source/WebCore/ChangeLog	2012-01-17 02:25:52 UTC (rev 105120)
+++ trunk/Source/WebCore/ChangeLog	2012-01-17 03:35:24 UTC (rev 105121)
@@ -1,3 +1,16 @@
+2012-01-16  Jason Liu  <[email protected]>
+
+        platformRequest(QNX) need to get the conditional information from ResourceRequest.
+        https://bugs.webkit.org/show_bug.cgi?id=75216
+
+        Reviewed by George Staikos.
+
+        Pass the isConditional() flag in ResourceRequest to the QNX platform's network request.
+        QNX platform's network needs this flag to determine whether to use disk-cache.
+
+        * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
+        (ResourceRequest::initializePlatformRequest):
+
 2012-01-16  Robert Hogan  <[email protected]>
 
         Heap-use-after-free in WebCore::RenderBlock::selectionGaps

Modified: trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp (105120 => 105121)


--- trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp	2012-01-17 02:25:52 UTC (rev 105120)
+++ trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp	2012-01-17 03:35:24 UTC (rev 105121)
@@ -96,6 +96,8 @@
                 platformTargetTypeForRequest(*this),
                 timeoutInterval());
 
+        platformRequest.setConditional(isConditional());
+
         if (httpBody() && !httpBody()->isEmpty()) {
             const Vector<FormDataElement>& elements = httpBody()->elements();
             // Use setData for simple forms because it is slightly more efficient.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to