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

Unified Diff: content/child/resource_dispatcher_unittest.cc

Issue 2557673006: Move Origin::GetURL() out of resource request critical path (Closed)
Patch Set: 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: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 0b4dc7e27b21e9898a51ffc0199decd8991d753e..480576d2b5ea1d8daf541b1ac81d21da1e1ef886 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -330,7 +330,7 @@ class ResourceDispatcherTest : public testing::Test, public IPC::Sender {
std::unique_ptr<TestRequestPeer> peer(
new TestRequestPeer(dispatcher(), peer_context));
int request_id = dispatcher()->StartAsync(
- std::move(request), 0, nullptr, GURL(), std::move(peer),
+ std::move(request), 0, nullptr, url::Origin(), std::move(peer),
blink::WebURLRequest::LoadingIPCType::ChromeIPC, nullptr, nullptr);
peer_context->request_id = request_id;
return request_id;

Powered by Google App Engine
This is Rietveld 408576698