| Index: ui/snapshot/snapshot_aura_unittest.cc
|
| diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
|
| index a720dc98111c9768bd1cfaee4709c07ac45d5305..b15a5807b6b20aa5cb0c49012caa1879e679b84a 100644
|
| --- a/ui/snapshot/snapshot_aura_unittest.cc
|
| +++ b/ui/snapshot/snapshot_aura_unittest.cc
|
| @@ -114,7 +114,8 @@ class SnapshotAuraTest : public testing::Test {
|
|
|
| void WaitForDraw() {
|
| helper_->host()->compositor()->ScheduleDraw();
|
| - ui::DrawWaiterForTest::Wait(helper_->host()->compositor());
|
| + ui::DrawWaiterForTest::WaitForCompositingEnded(
|
| + helper_->host()->compositor());
|
| }
|
|
|
| void SetupTestWindow(const gfx::Rect& window_bounds) {
|
|
|