Chromium Code Reviews| Index: cc/tiles/image_controller_unittest.cc |
| diff --git a/cc/tiles/image_controller_unittest.cc b/cc/tiles/image_controller_unittest.cc |
| index 90b708f30471c8ad34f886d3e0f2e1cec0028686..06c7e996a9cb9bef211e93c68122902e1016fa69 100644 |
| --- a/cc/tiles/image_controller_unittest.cc |
| +++ b/cc/tiles/image_controller_unittest.cc |
| @@ -190,7 +190,6 @@ class BlockingTask : public TileTask { |
| void RunOnWorkerThread() override { |
| EXPECT_FALSE(HasCompleted()); |
| - EXPECT_FALSE(thread_checker_.CalledOnValidThread()); |
|
danakj
2017/03/14 21:10:11
You could #if DCHECK_IS_ON() or smoething if u wan
danakj
2017/03/14 21:10:46
You can also use ThreadCheckerImpl if you want
vmpstr
2017/03/15 17:41:57
Good idea. I did ThreadCheckerImpl instead.
|
| base::AutoLock hold(lock_); |
| if (!can_run_) |
| run_cv_.Wait(); |