Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
index cdc89261d030c3a55fd08b37951465162658910b..928aa32bd8fc3466efe8b913ac438d55699d3814 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
@@ -94,7 +94,7 @@ class EmptyDataHandle final : public WebDataConsumerHandle {
};
std::unique_ptr<Reader> obtainReader(Client* client) override {
- return makeUnique<EmptyDataReader>(client);
+ return WTF::makeUnique<EmptyDataReader>(client);
}
const char* debugName() const override { return "EmptyDataHandle"; }
};
@@ -512,7 +512,8 @@ bool DocumentThreadableLoader::redirectReceived(
// TODO(horo): If we support any API which expose the internal body, we will
// have to read the body. And also HTTPCache changes will be needed because
// it doesn't store the body of redirect responses.
- responseReceived(resource, redirectResponse, makeUnique<EmptyDataHandle>());
+ responseReceived(resource, redirectResponse,
+ WTF::makeUnique<EmptyDataHandle>());
if (m_client) {
DCHECK(m_actualRequest.isNull());
@@ -721,7 +722,7 @@ void DocumentThreadableLoader::handlePreflightResponse(
}
std::unique_ptr<CrossOriginPreflightResultCacheItem> preflightResult =
- wrapUnique(
+ WTF::wrapUnique(
new CrossOriginPreflightResultCacheItem(effectiveAllowCredentials()));
if (!preflightResult->parse(response, accessControlErrorDescription) ||
!preflightResult->allowsCrossOriginMethod(
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGResources.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698