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

Unified Diff: gpu/ipc/service/gpu_vsync_provider_unittest_win.cc

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Addressed CR feedback 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
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

Powered by Google App Engine
This is Rietveld 408576698