Unreviewed build fix after r170029
authorljaehun.lim@samsung.com <ljaehun.lim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2014 01:23:44 +0000 (01:23 +0000)
committerljaehun.lim@samsung.com <ljaehun.lim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2014 01:23:44 +0000 (01:23 +0000)
Use String() instead of AtomicString().

Source/WebCore:
* platform/network/HTTPParsers.cpp:
(WebCore::parseHTTPHeader):
* platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateSoupMessageHeaders):
* platform/network/soup/ResourceResponseSoup.cpp:
(WebCore::ResourceResponse::toSoupMessage):

Source/WebKit2:
* UIProcess/InspectorServer/HTTPRequest.cpp:
(WebKit::HTTPRequest::parseHeaders):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/network/HTTPParsers.cpp
Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp
Source/WebCore/platform/network/soup/ResourceResponseSoup.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/InspectorServer/HTTPRequest.cpp

index e4edf9a..c793d76 100644 (file)
@@ -1,3 +1,16 @@
+2014-06-16  Jaehun Lim  <ljaehun.lim@samsung.com>
+
+        Unreviewed build fix after r170029
+
+        Use String() instead of AtomicString().
+
+        * platform/network/HTTPParsers.cpp:
+        (WebCore::parseHTTPHeader):
+        * platform/network/soup/ResourceRequestSoup.cpp:
+        (WebCore::ResourceRequest::updateSoupMessageHeaders):
+        * platform/network/soup/ResourceResponseSoup.cpp:
+        (WebCore::ResourceResponse::toSoupMessage):
+
 2014-06-16  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Use TileController on Windows
index c0fcc81..6d1aab2 100644 (file)
@@ -612,7 +612,7 @@ size_t parseHTTPHeader(const char* start, size_t length, String& failureReason,
 
     Vector<char> name;
     Vector<char> value;
-    nameStr = AtomicString();
+    nameStr = String();
     valueStr = String();
 
     for (; p < end; p++) {
index 7ec16fc..546e94c 100644 (file)
@@ -53,7 +53,7 @@ void ResourceRequest::updateSoupMessageHeaders(SoupMessageHeaders* soupHeaders)
     if (!headers.isEmpty()) {
         HTTPHeaderMap::const_iterator end = headers.end();
         for (HTTPHeaderMap::const_iterator it = headers.begin(); it != end; ++it)
-            soup_message_headers_append(soupHeaders, it->key.string().utf8().data(), it->value.utf8().data());
+            soup_message_headers_append(soupHeaders, it->key.utf8().data(), it->value.utf8().data());
     }
 }
 
index d68f64f..cf8e33f 100644 (file)
@@ -47,7 +47,7 @@ SoupMessage* ResourceResponse::toSoupMessage() const
     if (!headers.isEmpty()) {
         HTTPHeaderMap::const_iterator end = headers.end();
         for (HTTPHeaderMap::const_iterator it = headers.begin(); it != end; ++it)
-            soup_message_headers_append(soupHeaders, it->key.string().utf8().data(), it->value.utf8().data());
+            soup_message_headers_append(soupHeaders, it->key.utf8().data(), it->value.utf8().data());
     }
 
     soup_message_set_flags(soupMessage, m_soupFlags);
index 8fbf715..e9321d1 100644 (file)
@@ -1,3 +1,12 @@
+2014-06-16  Jaehun Lim  <ljaehun.lim@samsung.com>
+
+        Unreviewed build fix after r170029
+
+        Use String() instead of AtomicString().
+
+        * UIProcess/InspectorServer/HTTPRequest.cpp:
+        (WebKit::HTTPRequest::parseHeaders):
+
 2014-06-16  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Use TileController on Windows
index c026d77..5be2e9d 100644 (file)
@@ -82,7 +82,7 @@ size_t HTTPRequest::parseHeaders(const char* data, size_t length, String& failur
 {
     const char* p = data;
     const char* end = data + length;
-    AtomicString name;
+    String name;
     String value;
     for (; p < data + length; p++) {
         size_t consumedLength = parseHTTPHeader(p, end - p, failureReason, name, value);