diff options
author | caseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 19:23:02 +0000 |
---|---|---|
committer | caseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 19:23:02 +0000 |
commit | dbe759abd5116fe4e6bacf9f4b31953fbee92625 (patch) | |
tree | edbaecc9c37d9d9f17d27e403cb7a5f7e91b9ee5 /cc/test/layer_tree_test.cc | |
parent | c5ed9f76ef0cea87f3ecdb959f90af33f2d77f98 (diff) | |
download | chromium_src-dbe759abd5116fe4e6bacf9f4b31953fbee92625.zip chromium_src-dbe759abd5116fe4e6bacf9f4b31953fbee92625.tar.gz chromium_src-dbe759abd5116fe4e6bacf9f4b31953fbee92625.tar.bz2 |
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
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r-- | cc/test/layer_tree_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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) {} |