Index: gpu/ipc/service/gpu_vsync_provider_unittest_win.cc |
diff --git a/gpu/ipc/service/gpu_vsync_provider_unittest_win.cc b/gpu/ipc/service/gpu_vsync_provider_unittest_win.cc |
index 2b96b4a493c80cd660f54c29283f334efc06b8cf..342507b9c38e2384a4d52e1d43bdddf629fab676 100644 |
--- a/gpu/ipc/service/gpu_vsync_provider_unittest_win.cc |
+++ b/gpu/ipc/service/gpu_vsync_provider_unittest_win.cc |
@@ -65,11 +65,11 @@ TEST_F(GpuVSyncProviderTest, VSyncSignalTest) { |
EXPECT_FALSE(wait_result); |
EXPECT_EQ(0, vsync_count()); |
- provider->EnableVSync(true); |
+ provider->SetNeedsVSync(true); |
vsync_event_.Wait(); |
- provider->EnableVSync(false); |
+ provider->SetNeedsVSync(false); |
// Verify that VSync callbacks stop coming after disabling. |
// Please note that it might still be possible for one |