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

Unified Diff: content/browser/loader/resource_scheduler_unittest.cc

Issue 12701011: [Net] Propagate priority changes from URLRequest to HttpTransaction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leaks Created 7 years, 9 months 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
« no previous file with comments | « content/browser/loader/resource_scheduler.cc ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_scheduler_unittest.cc
diff --git a/content/browser/loader/resource_scheduler_unittest.cc b/content/browser/loader/resource_scheduler_unittest.cc
index be112414dd8e5d58a0bb2352e7f428407d3be06b..2b49e05b48d761ade2edfe83839800f7d1387864 100644
--- a/content/browser/loader/resource_scheduler_unittest.cc
+++ b/content/browser/loader/resource_scheduler_unittest.cc
@@ -92,7 +92,7 @@ class ResourceSchedulerTest : public testing::Test {
int route_id = kRouteId) {
scoped_ptr<net::URLRequest> url_request(
context_.CreateRequest(GURL(url), NULL));
- url_request->set_priority(priority);
+ url_request->SetPriority(priority);
ResourceRequestInfo::AllocateForTesting(
url_request.get(), ResourceType::SUB_RESOURCE, NULL, kChildId,
route_id);
« no previous file with comments | « content/browser/loader/resource_scheduler.cc ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698