Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index fefd00efdf062bb27b479e32d044f8641eb3f324..70650b56e176d176de233b5f0fa0d5a176746c7f 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -355,8 +355,10 @@ class LayoutTestDependenciesImpl : public LayoutTestDependencies, |
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, false /* force_disable_reclaim_resources */); |
+ synchronous_composite); |
compositor_frame_sink->SetClient(this); |
+ // Always swap (regardless of damage) to ensure that we can capture frames. |
+ compositor_frame_sink->SetAlwaysSwap(); |
danakj
2017/01/11 19:28:24
Instead we could have the code that inserts a copy
ericrk
2017/01/11 23:10:50
Added the invalidation to the code that triggers t
|
compositor_frame_sinks_[routing_id] = compositor_frame_sink.get(); |
return std::move(compositor_frame_sink); |
} |