diff options
author | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-10 09:05:36 +0000 |
---|---|---|
committer | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-10 09:05:36 +0000 |
commit | 4d877d82f1552d7aa7bcf6805170c4aa385ab0d4 (patch) | |
tree | 35941b25944c5b429f461c7fb9ec8a46f31934ec /cc/test/layer_tree_test.cc | |
parent | e0402a6c3d8b2ee1d1bd36729b6e4b81fa1914d8 (diff) | |
download | chromium_src-4d877d82f1552d7aa7bcf6805170c4aa385ab0d4.zip chromium_src-4d877d82f1552d7aa7bcf6805170c4aa385ab0d4.tar.gz chromium_src-4d877d82f1552d7aa7bcf6805170c4aa385ab0d4.tar.bz2 |
cc: Fix flaky LayerTreeHostTestFrameTimeUpdatesAfterActivationFails
This blocks NotifyReadyToActivate sooner, in BeginCommitOnThread.
It is possible for activation to occur before
WillBeginImplFrameOnThread, which is where NotifyReadyToActivate
was being blocked previously.
This also records first_frame_time_, which was accidentally removed
before.
LayerTreeHostTestFrameTimeUpdatesAfterActivationFails is
re-enabled now that it has been fixed.
BUG=304251
Review URL: https://codereview.chromium.org/26246004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r-- | cc/test/layer_tree_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc index 6b78b25..87fcb54 100644 --- a/cc/test/layer_tree_test.cc +++ b/cc/test/layer_tree_test.cc @@ -76,6 +76,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl { virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE { test_hooks_->WillBeginImplFrameOnThread(this, args); LayerTreeHostImpl::BeginFrame(args); + test_hooks_->DidBeginImplFrameOnThread(this, args); } virtual void BeginCommit() OVERRIDE { |