From 5bc29a2dabe01f1e2315bcc287f11db10df4144b Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Thu, 1 Nov 2012 21:21:59 +0000 Subject: Revert 165476 - Remove static thread pointers from CC Might be causing webkit_unit_tests to fail on mac/win BUG=152904 Review URL: https://codereview.chromium.org/11232051 TBR=jamesr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165501 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_impl_unittest.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc/layer_impl_unittest.cc') diff --git a/cc/layer_impl_unittest.cc b/cc/layer_impl_unittest.cc index 259a6ed..3640185 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 root = LayerImpl::create(1); root->addChild(LayerImpl::create(2)); -- cgit v1.1