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

Unified Diff: cc/tiled_layer_impl_unittest.cc

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 165064 Created 8 years, 2 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
Index: cc/tiled_layer_impl_unittest.cc
diff --git a/cc/tiled_layer_impl_unittest.cc b/cc/tiled_layer_impl_unittest.cc
index e8c066f96132f56e3515b5a359d4720f2475d655..81a04b55a5c5c63216929b58306faf69c2bf7837 100644
--- a/cc/tiled_layer_impl_unittest.cc
+++ b/cc/tiled_layer_impl_unittest.cc
@@ -46,8 +46,6 @@ static scoped_ptr<TiledLayerImpl> createLayer(const IntSize& tileSize, const Int
TEST(TiledLayerImplTest, emptyQuadList)
{
- DebugScopedSetImplThread scopedImplThread;
-
const IntSize tileSize(90, 90);
const int numTilesX = 8;
const int numTilesY = 4;
@@ -101,8 +99,6 @@ TEST(TiledLayerImplTest, emptyQuadList)
TEST(TiledLayerImplTest, checkerboarding)
{
- DebugScopedSetImplThread scopedImplThread;
-
const IntSize tileSize(10, 10);
const int numTilesX = 2;
const int numTilesY = 2;
@@ -162,8 +158,6 @@ static void getQuads(QuadList& quads, SharedQuadStateList& sharedStates, IntSize
static void coverageVisibleRectOnTileBoundaries(LayerTilingData::BorderTexelOption borders)
{
- DebugScopedSetImplThread scopedImplThread;
-
IntSize layerSize(1000, 1000);
QuadList quads;
SharedQuadStateList sharedStates;
@@ -174,8 +168,6 @@ WITH_AND_WITHOUT_BORDER_TEST(coverageVisibleRectOnTileBoundaries);
static void coverageVisibleRectIntersectsTiles(LayerTilingData::BorderTexelOption borders)
{
- DebugScopedSetImplThread scopedImplThread;
-
// This rect intersects the middle 3x3 of the 5x5 tiles.
IntPoint topLeft(65, 73);
IntPoint bottomRight(182, 198);
@@ -191,8 +183,6 @@ WITH_AND_WITHOUT_BORDER_TEST(coverageVisibleRectIntersectsTiles);
static void coverageVisibleRectIntersectsBounds(LayerTilingData::BorderTexelOption borders)
{
- DebugScopedSetImplThread scopedImplThread;
-
IntSize layerSize(220, 210);
IntRect visibleContentRect(IntPoint(), layerSize);
QuadList quads;
@@ -204,8 +194,6 @@ WITH_AND_WITHOUT_BORDER_TEST(coverageVisibleRectIntersectsBounds);
TEST(TiledLayerImplTest, textureInfoForLayerNoBorders)
{
- DebugScopedSetImplThread scopedImplThread;
-
IntSize tileSize(50, 50);
IntSize layerSize(250, 250);
QuadList quads;
@@ -225,8 +213,6 @@ TEST(TiledLayerImplTest, textureInfoForLayerNoBorders)
TEST(TiledLayerImplTest, tileOpaqueRectForLayerNoBorders)
{
- DebugScopedSetImplThread scopedImplThread;
-
IntSize tileSize(50, 50);
IntSize layerSize(250, 250);
QuadList quads;

Powered by Google App Engine
This is Rietveld 408576698