Index: third_party/WebKit/Source/core/fetch/Resource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp |
index 4f6712198a66ac12d94686ff5e7702792a46d80e..a3e1a0cb54067a2be961e672da2d151b6f0c9d02 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp |
@@ -39,6 +39,7 @@ |
#include "platform/weborigin/KURL.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebProcessMemoryDump.h" |
+#include "public/platform/WebScheduler.h" |
#include "wtf/CurrentTime.h" |
#include "wtf/MathExtras.h" |
#include "wtf/StdLibExtras.h" |
@@ -47,8 +48,6 @@ |
#include "wtf/text/CString.h" |
#include <algorithm> |
-using namespace WTF; |
- |
namespace blink { |
// These response headers are not copied from a revalidated response to the |
@@ -838,7 +837,7 @@ void Resource::onMemoryDump(WebMemoryDumpLevelOfDetail levelOfDetail, WebProcess |
ResourceClientWalker<ResourceClient> walker3(m_finishedClients); |
while (ResourceClient* client = walker3.next()) |
clientNames.append("(finished) " + client->debugName()); |
- std::sort(clientNames.begin(), clientNames.end(), codePointCompareLessThan); |
+ std::sort(clientNames.begin(), clientNames.end(), WTF::codePointCompareLessThan); |
StringBuilder builder; |
for (size_t i = 0; i < clientNames.size() && i < kMaxResourceClientToShowInMemoryInfra; ++i) { |