Title: [145410] trunk/Source/WebCore
Revision
145410
Author
[email protected]
Date
2013-03-11 14:53:58 -0700 (Mon, 11 Mar 2013)

Log Message

        Roll out part of r144671.

        ResourceHandle::firstRequest() should not be const(), because it returns a
        non-const reference.        

        * platform/network/ResourceHandle.cpp:
        (WebCore::ResourceHandle::firstRequest):
        * platform/network/ResourceHandle.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (145409 => 145410)


--- trunk/Source/WebCore/ChangeLog	2013-03-11 21:51:19 UTC (rev 145409)
+++ trunk/Source/WebCore/ChangeLog	2013-03-11 21:53:58 UTC (rev 145410)
@@ -1,3 +1,14 @@
+2013-03-11  Alexey Proskuryakov  <[email protected]>
+
+        Roll out part of r144671.
+
+        ResourceHandle::firstRequest() should not be const(), because it returns a
+        non-const reference.        
+
+        * platform/network/ResourceHandle.cpp:
+        (WebCore::ResourceHandle::firstRequest):
+        * platform/network/ResourceHandle.h:
+
 2013-01-30  Jer Noble  <[email protected]>
 
         Mac: Cmd-w should close full screen window.

Modified: trunk/Source/WebCore/platform/network/ResourceHandle.cpp (145409 => 145410)


--- trunk/Source/WebCore/platform/network/ResourceHandle.cpp	2013-03-11 21:51:19 UTC (rev 145409)
+++ trunk/Source/WebCore/platform/network/ResourceHandle.cpp	2013-03-11 21:53:58 UTC (rev 145410)
@@ -147,7 +147,7 @@
     d->m_client = client;
 }
 
-ResourceRequest& ResourceHandle::firstRequest() const
+ResourceRequest& ResourceHandle::firstRequest()
 {
     return d->m_firstRequest;
 }

Modified: trunk/Source/WebCore/platform/network/ResourceHandle.h (145409 => 145410)


--- trunk/Source/WebCore/platform/network/ResourceHandle.h	2013-03-11 21:51:19 UTC (rev 145409)
+++ trunk/Source/WebCore/platform/network/ResourceHandle.h	2013-03-11 21:53:58 UTC (rev 145410)
@@ -194,7 +194,7 @@
 
     void didChangePriority(ResourceLoadPriority);
 
-    ResourceRequest& firstRequest() const;
+    ResourceRequest& firstRequest();
     const String& lastHTTPMethod() const;
 
     void fireFailure(Timer<ResourceHandle>*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to