summaryrefslogtreecommitdiffstats
path: root/cc/layer_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layer_impl_unittest.cc')
-rw-r--r--cc/layer_impl_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/layer_impl_unittest.cc b/cc/layer_impl_unittest.cc
index 708d8d2..b852078 100644
--- a/cc/layer_impl_unittest.cc
+++ b/cc/layer_impl_unittest.cc
@@ -58,6 +58,8 @@ TEST(LayerImplTest, verifyLayerChangesAreTrackedProperly)
//
// The constructor on this will fake that we are on the correct thread.
+ DebugScopedSetImplThread setImplThread;
+
// Create a simple LayerImpl tree:
scoped_ptr<LayerImpl> root = LayerImpl::create(1);
root->addChild(LayerImpl::create(2));