summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 16:30:35 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 16:30:35 +0000
commit92218694a696e560c7127e11690ca38e53213a4d (patch)
tree7ad81378c34840c0cfe443a44fa3ee501086d30c /cc/test/layer_tree_test.cc
parent6b038f1a191f5e6e36660fda9aeb19cadd7cf3fa (diff)
downloadchromium_src-92218694a696e560c7127e11690ca38e53213a4d.zip
chromium_src-92218694a696e560c7127e11690ca38e53213a4d.tar.gz
chromium_src-92218694a696e560c7127e11690ca38e53213a4d.tar.bz2
cc: Test losing the output surface during deferred commits.
This adds a unit test that would fail after landing the https://codereview.chromium.org/287193003 CL without any further changes, documenting one regression it caused. R=brianderson, enne BUG=376649,374287 Review URL: https://codereview.chromium.org/321193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r--cc/test/layer_tree_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index d21d43e..10c415e 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -75,6 +75,7 @@ class ThreadProxyForTest : public ThreadProxy {
}
virtual void ScheduledActionSendBeginMainFrame() OVERRIDE {
+ test_hooks_->ScheduledActionWillSendBeginMainFrame();
ThreadProxy::ScheduledActionSendBeginMainFrame();
test_hooks_->ScheduledActionSendBeginMainFrame();
}