diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-04 03:25:55 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-04 03:25:55 +0000 |
commit | db79992121c7627abc0855e655d91470ee3ac3ac (patch) | |
tree | c9e8cc8541c775dbe600fb299b56fb37b9e05227 /cc/render_surface_unittest.cc | |
parent | 8311a2b8ceea50b6bcd923cd709949cc082b865d (diff) | |
download | chromium_src-db79992121c7627abc0855e655d91470ee3ac3ac.zip chromium_src-db79992121c7627abc0855e655d91470ee3ac3ac.tar.gz chromium_src-db79992121c7627abc0855e655d91470ee3ac3ac.tar.bz2 |
Remove static thread pointers from CC, attempt 2
BUG=152904
Review URL: https://chromiumcodereview.appspot.com/11232051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165872 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/render_surface_unittest.cc')
-rw-r--r-- | cc/render_surface_unittest.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cc/render_surface_unittest.cc b/cc/render_surface_unittest.cc index be35ac1..0bd7be5 100644 --- a/cc/render_surface_unittest.cc +++ b/cc/render_surface_unittest.cc @@ -39,9 +39,6 @@ TEST(RenderSurfaceTest, verifySurfaceChangesAreTrackedProperly) // This test checks that surfacePropertyChanged() has the correct behavior. // - // This will fake that we are on the correct thread for testing purposes. - DebugScopedSetImplThread setImplThread; - scoped_ptr<LayerImpl> owningLayer = LayerImpl::create(1); owningLayer->createRenderSurface(); ASSERT_TRUE(owningLayer->renderSurface()); @@ -76,9 +73,6 @@ TEST(RenderSurfaceTest, verifySurfaceChangesAreTrackedProperly) TEST(RenderSurfaceTest, sanityCheckSurfaceCreatesCorrectSharedQuadState) { - // This will fake that we are on the correct thread for testing purposes. - DebugScopedSetImplThread setImplThread; - scoped_ptr<LayerImpl> rootLayer = LayerImpl::create(1); scoped_ptr<LayerImpl> owningLayer = LayerImpl::create(2); @@ -130,9 +124,6 @@ private: TEST(RenderSurfaceTest, sanityCheckSurfaceCreatesCorrectRenderPass) { - // This will fake that we are on the correct thread for testing purposes. - DebugScopedSetImplThread setImplThread; - scoped_ptr<LayerImpl> rootLayer = LayerImpl::create(1); scoped_ptr<LayerImpl> owningLayer = LayerImpl::create(2); |