summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/android/ResourceRequestAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/android/ResourceRequestAndroid.cpp')
-rw-r--r--WebCore/platform/network/android/ResourceRequestAndroid.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/WebCore/platform/network/android/ResourceRequestAndroid.cpp b/WebCore/platform/network/android/ResourceRequestAndroid.cpp
index 00735f3..7f4bccb 100644
--- a/WebCore/platform/network/android/ResourceRequestAndroid.cpp
+++ b/WebCore/platform/network/android/ResourceRequestAndroid.cpp
@@ -30,17 +30,10 @@ namespace WebCore {
unsigned initializeMaximumHTTPConnectionCountPerHost()
{
-#if USE(CHROME_NETWORK_STACK)
- // The chromium network stack already handles limiting the number of
- // parallel requests per host, so there's no need to do it here. Therefore,
- // this is set to a high value that should never be hit in practice.
- return 10000;
-#else
// This is used by the loader to control the number of parallel load
// requests. Our java framework has 4 threads that can each pipeline up to
// 5 requests. Use 20 as a maximum number.
return 20;
-#endif
}
} // namespace WebCore