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

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: Apply code review comments Created 8 years, 1 month 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
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer_impl_unittest.cc
diff --git a/cc/tiled_layer_impl_unittest.cc b/cc/tiled_layer_impl_unittest.cc
index a93bb6d3d0fcb8491625b3b0c0f91f2daedcae63..323ce891bde9e3032d95f96ca29a9da976b6554e 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 gfx::Size& tileSize, const g
TEST(TiledLayerImplTest, emptyQuadList)
{
- DebugScopedSetImplThread scopedImplThread;
-
const gfx::Size tileSize(90, 90);
const int numTilesX = 8;
const int numTilesY = 4;
@@ -101,8 +99,6 @@ TEST(TiledLayerImplTest, emptyQuadList)
TEST(TiledLayerImplTest, checkerboarding)
{
- DebugScopedSetImplThread scopedImplThread;
-
const gfx::Size tileSize(10, 10);
const int numTilesX = 2;
const int numTilesY = 2;
@@ -162,8 +158,6 @@ static void getQuads(QuadList& quads, SharedQuadStateList& sharedStates, gfx::Si
static void coverageVisibleRectOnTileBoundaries(LayerTilingData::BorderTexelOption borders)
{
- DebugScopedSetImplThread scopedImplThread;
-
gfx::Size 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.
gfx::Point topLeft(65, 73);
gfx::Point bottomRight(182, 198);
@@ -191,8 +183,6 @@ WITH_AND_WITHOUT_BORDER_TEST(coverageVisibleRectIntersectsTiles);
static void coverageVisibleRectIntersectsBounds(LayerTilingData::BorderTexelOption borders)
{
- DebugScopedSetImplThread scopedImplThread;
-
gfx::Size layerSize(220, 210);
gfx::Rect visibleContentRect(gfx::Point(), layerSize);
QuadList quads;
@@ -204,8 +194,6 @@ WITH_AND_WITHOUT_BORDER_TEST(coverageVisibleRectIntersectsBounds);
TEST(TiledLayerImplTest, textureInfoForLayerNoBorders)
{
- DebugScopedSetImplThread scopedImplThread;
-
gfx::Size tileSize(50, 50);
gfx::Size layerSize(250, 250);
QuadList quads;
@@ -225,8 +213,6 @@ TEST(TiledLayerImplTest, textureInfoForLayerNoBorders)
TEST(TiledLayerImplTest, tileOpaqueRectForLayerNoBorders)
{
- DebugScopedSetImplThread scopedImplThread;
-
gfx::Size tileSize(50, 50);
gfx::Size layerSize(250, 250);
QuadList quads;
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698