Title: [185510] trunk/Source/WebCore
Revision
185510
Author
[email protected]
Date
2015-06-12 09:59:26 -0700 (Fri, 12 Jun 2015)

Log Message

Fix unused private field warning in ResourceHandleSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=145910

Reviewed by Darin Adler.

* platform/network/soup/ResourceHandleSoup.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185509 => 185510)


--- trunk/Source/WebCore/ChangeLog	2015-06-12 16:56:02 UTC (rev 185509)
+++ trunk/Source/WebCore/ChangeLog	2015-06-12 16:59:26 UTC (rev 185510)
@@ -1,3 +1,12 @@
+2015-06-12  Csaba Osztrogonác  <[email protected]>
+
+        Fix unused private field warning in ResourceHandleSoup.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=145910
+
+        Reviewed by Darin Adler.
+
+        * platform/network/soup/ResourceHandleSoup.cpp:
+
 2015-06-12  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: CRASH trying to inspect text that was removed/replaced

Modified: trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp (185509 => 185510)


--- trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp	2015-06-12 16:56:02 UTC (rev 185509)
+++ trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp	2015-06-12 16:59:26 UTC (rev 185510)
@@ -82,7 +82,9 @@
     WebCoreSynchronousLoader(ResourceError& error, ResourceResponse& response, SoupSession* session, Vector<char>& data, StoredCredentials storedCredentials)
         : m_error(error)
         , m_response(response)
+#if !SOUP_CHECK_VERSION(2, 49, 91)
         , m_session(session)
+#endif
         , m_data(data)
         , m_finished(false)
         , m_storedCredentials(storedCredentials)
@@ -97,6 +99,8 @@
 
 #if !SOUP_CHECK_VERSION(2, 49, 91)
         adjustMaxConnections(1);
+#else
+        UNUSED_PARAM(session);
 #endif
     }
 
@@ -186,7 +190,9 @@
 private:
     ResourceError& m_error;
     ResourceResponse& m_response;
+#if !SOUP_CHECK_VERSION(2, 49, 91)
     SoupSession* m_session;
+#endif
     Vector<char>& m_data;
     bool m_finished;
     GRefPtr<GMainLoop> m_mainLoop;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to