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

Unified Diff: cc/test/test_tile_task_runner.cc

Issue 2018353005: cc: Fix data race in cc::TaskState::IsFinished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 7 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 | « cc/test/fake_tile_task_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_tile_task_runner.cc
diff --git a/cc/test/test_tile_task_runner.cc b/cc/test/test_tile_task_runner.cc
index 4b5434b28942a0c67a95bef6978aa86c2ab2a2b5..8bf98db1f414b1ac174d7db0be6c278d1b2f15b4 100644
--- a/cc/test/test_tile_task_runner.cc
+++ b/cc/test/test_tile_task_runner.cc
@@ -35,6 +35,7 @@ void TestTileTaskRunner::CompleteTask(TileTask* task) {
DCHECK(task);
DCHECK(task->state().IsFinished() || task->state().IsCanceled());
task->OnTaskCompleted();
+ task->DidComplete();
}
} // namespace cc
« no previous file with comments | « cc/test/fake_tile_task_manager.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698