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

Unified Diff: cc/test/scheduler_test_common.cc

Issue 1681393003: cc: Add MainAndImplFrameTimeDelta UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - active_tree_needs_first_draw_ = true Created 4 years, 10 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 | « cc/test/scheduler_test_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.cc
diff --git a/cc/test/scheduler_test_common.cc b/cc/test/scheduler_test_common.cc
index b6b1b2b9e7a5f98ec9a5f18ede66e807f48a7574..ef760d2adecdf665697d741bca21d4867d27f5c9 100644
--- a/cc/test/scheduler_test_common.cc
+++ b/cc/test/scheduler_test_common.cc
@@ -67,16 +67,20 @@ TestSyntheticBeginFrameSource::TestSyntheticBeginFrameSource(
TestSyntheticBeginFrameSource::~TestSyntheticBeginFrameSource() {
}
-scoped_ptr<FakeCompositorTimingHistory> FakeCompositorTimingHistory::Create() {
+scoped_ptr<FakeCompositorTimingHistory> FakeCompositorTimingHistory::Create(
+ bool using_synchronous_renderer_compositor) {
scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation =
RenderingStatsInstrumentation::Create();
return make_scoped_ptr(new FakeCompositorTimingHistory(
+ using_synchronous_renderer_compositor,
std::move(rendering_stats_instrumentation)));
}
FakeCompositorTimingHistory::FakeCompositorTimingHistory(
+ bool using_synchronous_renderer_compositor,
scoped_ptr<RenderingStatsInstrumentation> rendering_stats_instrumentation)
- : CompositorTimingHistory(CompositorTimingHistory::NULL_UMA,
+ : CompositorTimingHistory(using_synchronous_renderer_compositor,
+ CompositorTimingHistory::NULL_UMA,
rendering_stats_instrumentation.get()),
rendering_stats_instrumentation_owned_(
std::move(rendering_stats_instrumentation)) {}
« no previous file with comments | « cc/test/scheduler_test_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698