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

Unified Diff: content/test/fake_compositor_dependencies.cc

Issue 2061273002: cc: Make BackToBackBeginFrameSource a SyntheticBeginFrameSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: syntheticbeginframesource: delete-DEBUG_FRAMES Created 4 years, 6 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: content/test/fake_compositor_dependencies.cc
diff --git a/content/test/fake_compositor_dependencies.cc b/content/test/fake_compositor_dependencies.cc
index 82ff6a3bff5996836346740f2732424ac5849697..bf38812c9b3e47f140f960cf8d2dc70124e80ac7 100644
--- a/content/test/fake_compositor_dependencies.cc
+++ b/content/test/fake_compositor_dependencies.cc
@@ -92,7 +92,9 @@ FakeCompositorDependencies::GetRendererScheduler() {
std::unique_ptr<cc::BeginFrameSource>
FakeCompositorDependencies::CreateExternalBeginFrameSource(int routing_id) {
double refresh_rate = 200.0;
- return base::WrapUnique(new cc::FakeExternalBeginFrameSource(refresh_rate));
+ bool tick_automatically = true;
+ return base::MakeUnique<cc::FakeExternalBeginFrameSource>(refresh_rate,
+ tick_automatically);
}
cc::ImageSerializationProcessor*
« no previous file with comments | « content/renderer/gpu/compositor_external_begin_frame_source.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698