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

Unified Diff: extensions/common/one_shot_event_unittest.cc

Issue 2627863002: Split Closure part of TestPendingTask out of the struct (Closed)
Patch Set: rebase Created 3 years, 11 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 | « device/bluetooth/test/bluetooth_test_win.cc ('k') | media/cast/test/skewed_single_thread_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/one_shot_event_unittest.cc
diff --git a/extensions/common/one_shot_event_unittest.cc b/extensions/common/one_shot_event_unittest.cc
index 6393f9a640ce2bf0e152b235eb1e6e0169022e42..53de540946f6499065fc4df631afc4c2790c7d84 100644
--- a/extensions/common/one_shot_event_unittest.cc
+++ b/extensions/common/one_shot_event_unittest.cc
@@ -35,8 +35,8 @@ TEST(OneShotEventTest, CallsQueueAsDistinctTask) {
auto pending_tasks = runner->TakePendingTasks();
ASSERT_EQ(2U, pending_tasks.size());
- EXPECT_NE(pending_tasks[0].location.line_number(),
- pending_tasks[1].location.line_number())
+ EXPECT_NE(pending_tasks[0].first.location.line_number(),
+ pending_tasks[1].first.location.line_number())
<< "Make sure FROM_HERE is propagated.";
}
« no previous file with comments | « device/bluetooth/test/bluetooth_test_win.cc ('k') | media/cast/test/skewed_single_thread_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698