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

Unified Diff: content/test/layouttest_support.cc

Issue 2854953006: Move disable_display_vsync out of RendererSettings (Closed)
Patch Set: Correct typo Created 3 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 | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 74071e642e78f8924e747efcdd7e45ed35e24306..3896c9b848b9605dca4dcd6f5634ab69b9514f89 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -346,11 +346,12 @@ class LayoutTestDependenciesImpl : public LayoutTestDependencies,
*base::CommandLine::ForCurrentProcess(), deps, 1.f, false,
dummy_screen_info);
+ constexpr bool disable_display_vsync = false;
auto compositor_frame_sink = base::MakeUnique<cc::TestCompositorFrameSink>(
std::move(compositor_context_provider),
std::move(worker_context_provider), nullptr /* shared_bitmap_manager */,
gpu_memory_buffer_manager, settings.renderer_settings, task_runner,
- synchronous_composite);
+ synchronous_composite, disable_display_vsync);
compositor_frame_sink->SetClient(this);
compositor_frame_sinks_[routing_id] = compositor_frame_sink.get();
return std::move(compositor_frame_sink);
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698