Index: cc/layers/scrollbar_layer_unittest.cc |
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc |
index f6c2dca446ce16e9ecaa79098cdc546591666067..0c160c400d9b1fdc72de719fe598db04d5c51ef0 100644 |
--- a/cc/layers/scrollbar_layer_unittest.cc |
+++ b/cc/layers/scrollbar_layer_unittest.cc |
@@ -451,6 +451,7 @@ class ScrollbarLayerTestResourceCreation : public testing::Test { |
ResourceUpdateQueue queue; |
OcclusionTracker occlusion_tracker(gfx::Rect(), false); |
+ scrollbar_layer->SavePaintProperties(); |
scrollbar_layer->SetTexturePriorities(calculator); |
layer_tree_host_->contents_texture_manager()->PrioritizeTextures(); |
scrollbar_layer->Update(&queue, &occlusion_tracker); |
@@ -532,6 +533,7 @@ class ScaledScrollbarLayerTestResourceCreation : public testing::Test { |
ResourceUpdateQueue queue; |
OcclusionTracker occlusion_tracker(gfx::Rect(), false); |
+ scrollbar_layer->SavePaintProperties(); |
scrollbar_layer->SetTexturePriorities(calculator); |
layer_tree_host_->contents_texture_manager()->PrioritizeTextures(); |
scrollbar_layer->Update(&queue, &occlusion_tracker); |