Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp |
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp |
index fb2bdcf43f32b78ff0e0abbb5fe9f33539a82f32..fc563a9d2a56e0220a48b42944a4c070874d61a8 100644 |
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp |
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp |
@@ -1049,12 +1049,12 @@ void ResourceFetcher::clearContext() { |
m_context.clear(); |
} |
-int ResourceFetcher::requestCount() const { |
+int ResourceFetcher::blockingRequestCount() const { |
return m_loaders.size(); |
} |
-bool ResourceFetcher::hasPendingRequest() const { |
- return m_loaders.size() > 0 || m_nonBlockingLoaders.size() > 0; |
+int ResourceFetcher::nonblockingRequestCount() const { |
+ return m_nonBlockingLoaders.size(); |
} |
void ResourceFetcher::preloadStarted(Resource* resource) { |