Index: cc/nine_patch_layer_unittest.cc |
diff --git a/cc/nine_patch_layer_unittest.cc b/cc/nine_patch_layer_unittest.cc |
index dfc65fab0c0d24a9f16c123028493b0e1b77c742..926c53a5c497cab7c284b81c5fb3ea2a9a80f320 100644 |
--- a/cc/nine_patch_layer_unittest.cc |
+++ b/cc/nine_patch_layer_unittest.cc |
@@ -116,10 +116,7 @@ TEST_F(NinePatchLayerTest, triggerFullUploadOnceWhenChangingBitmap) |
// Nothing changed, so no repeated upload. |
testLayer->setTexturePriorities(calculator); |
- { |
- DebugScopedSetImplThread implThread; |
- testLayer->update(queue, &occlusionTracker, stats); |
- } |
+ testLayer->update(queue, &occlusionTracker, stats); |
EXPECT_EQ(queue.fullUploadSize(), 0); |
EXPECT_EQ(queue.partialUploadSize(), 0); |
@@ -131,10 +128,7 @@ TEST_F(NinePatchLayerTest, triggerFullUploadOnceWhenChangingBitmap) |
// Reupload after eviction |
testLayer->setTexturePriorities(calculator); |
- { |
- DebugScopedSetImplThread implThread; |
- testLayer->update(queue, &occlusionTracker, stats); |
- } |
+ testLayer->update(queue, &occlusionTracker, stats); |
EXPECT_EQ(queue.fullUploadSize(), 1); |
EXPECT_EQ(queue.partialUploadSize(), 0); |
} |