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

Unified Diff: cc/test/layer_tree_test_common.cc

Issue 12340095: cc: Make damage on delegated frame damage the host layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 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/layer_tree_test_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test_common.cc
diff --git a/cc/test/layer_tree_test_common.cc b/cc/test/layer_tree_test_common.cc
index 2240279769602a02326b67e08d14edddd7989334..82603d7e60f041db9ccf5c2616b857fffb77b2a3 100644
--- a/cc/test/layer_tree_test_common.cc
+++ b/cc/test/layer_tree_test_common.cc
@@ -289,6 +289,7 @@ ThreadedTest::ThreadedTest()
, m_timedOut(false)
, m_scheduled(false)
, m_started(false)
+ , m_ended(false)
, m_implThread(0)
, m_weakFactory(ALLOW_THIS_IN_INITIALIZER_LIST(this))
{
@@ -399,6 +400,8 @@ void ThreadedTest::scheduleComposite()
void ThreadedTest::realEndTest()
{
+ m_ended = true;
+
if (m_layerTreeHost && proxy()->commitPendingForTesting()) {
proxy()->mainThread()->postTask(base::Bind(&ThreadedTest::realEndTest, m_mainThreadWeakPtr));
return;
« no previous file with comments | « cc/test/layer_tree_test_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698