summaryrefslogtreecommitdiff
path: root/Source/WebCore/loader/soup
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/loader/soup
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/loader/soup')
-rw-r--r--Source/WebCore/loader/soup/CachedRawResourceSoup.cpp7
-rw-r--r--Source/WebCore/loader/soup/SubresourceLoaderSoup.cpp5
2 files changed, 1 insertions, 11 deletions
diff --git a/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp b/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
index df3e5e510..4934e9df5 100644
--- a/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
+++ b/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
@@ -17,9 +17,6 @@
*/
#include "config.h"
-
-#if USE(SOUP)
-
#include "CachedRawResource.h"
#include "CachedRawResourceClient.h"
@@ -35,9 +32,7 @@ char* CachedRawResource::getOrCreateReadBuffer(size_t requestedSize, size_t& act
return bufferPtr;
}
- return nullptr;
+ return 0;
}
} // namespace WebCore
-
-#endif
diff --git a/Source/WebCore/loader/soup/SubresourceLoaderSoup.cpp b/Source/WebCore/loader/soup/SubresourceLoaderSoup.cpp
index f86bd55ba..b7670a06d 100644
--- a/Source/WebCore/loader/soup/SubresourceLoaderSoup.cpp
+++ b/Source/WebCore/loader/soup/SubresourceLoaderSoup.cpp
@@ -17,9 +17,6 @@
*/
#include "config.h"
-
-#if USE(SOUP)
-
#include "SubresourceLoader.h"
#include "CachedResource.h"
@@ -32,5 +29,3 @@ char* SubresourceLoader::getOrCreateReadBuffer(size_t requestedLength, size_t& a
}
} // namespace WebCore
-
-#endif