summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/resource_scheduler_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/loader/resource_scheduler_unittest.cc')
-rw-r--r--content/browser/loader/resource_scheduler_unittest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/browser/loader/resource_scheduler_unittest.cc b/content/browser/loader/resource_scheduler_unittest.cc
index 7fba2a5..f4cb0e0f 100644
--- a/content/browser/loader/resource_scheduler_unittest.cc
+++ b/content/browser/loader/resource_scheduler_unittest.cc
@@ -198,9 +198,7 @@ class ResourceSchedulerTest : public testing::Test {
const GlobalRequestID& id = info->GetGlobalRequestID();
ResourceHostMsg_DidChangePriority msg(id.request_id, new_priority,
intra_priority);
- bool ok = false;
- rdh_.OnMessageReceived(msg, filter.get(), &ok);
- EXPECT_TRUE(ok);
+ rdh_.OnMessageReceived(msg, filter.get());
}
int next_request_id_;