summaryrefslogtreecommitdiffstats
path: root/cc/render_surface_unittest.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 19:48:47 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 19:48:47 +0000
commitb375853a5b2305fe3cc689e2b3712bf42258ef4d (patch)
treeed1707a941a96624ba442f4360b736e5416a3158 /cc/render_surface_unittest.cc
parentb2b06c4f160763133874468c5f6715afc8832e06 (diff)
downloadchromium_src-b375853a5b2305fe3cc689e2b3712bf42258ef4d.zip
chromium_src-b375853a5b2305fe3cc689e2b3712bf42258ef4d.tar.gz
chromium_src-b375853a5b2305fe3cc689e2b3712bf42258ef4d.tar.bz2
Remove static thread pointers from CC
BUG=152904 Review URL: https://codereview.chromium.org/11232051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/render_surface_unittest.cc')
-rw-r--r--cc/render_surface_unittest.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/cc/render_surface_unittest.cc b/cc/render_surface_unittest.cc
index 397cfc6..8e11d8e 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);