From dbe759abd5116fe4e6bacf9f4b31953fbee92625 Mon Sep 17 00:00:00 2001 From: "caseq@chromium.org" Date: Mon, 2 Dec 2013 19:23:02 +0000 Subject: cc: add DevTools instrumentation for impl-side frames This adds devtools_instrumentation::didBeginFrame() invoked from Scheduler::BeginImplFrame() and devtools_instrumentation::didCommitMainThreadFrame invoked from LayerTreeHost::FinishCommitOnImplThread(). We use the latter to associate impl-side frames with main thread ones on the DevTools side. Related blink-side patch: https://codereview.chromium.org/59793003/ BUG=305863 Review URL: https://codereview.chromium.org/60353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238150 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/layer_tree_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cc/test/layer_tree_test.cc') diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc index de0b907..b723c56 100644 --- a/cc/test/layer_tree_test.cc +++ b/cc/test/layer_tree_test.cc @@ -72,7 +72,8 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl { host_impl_client, proxy, stats_instrumentation, - NULL), + NULL, + 0), test_hooks_(test_hooks), block_notify_ready_to_activate_for_testing_(false), notify_ready_to_activate_was_blocked_(false) {} -- cgit v1.1