Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index 18e117a0bc0032df40c4ea7e1066f1a7aae2d955..bbc13175c3c715d40fe5c613b5b592a41d87fa2f 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2043,8 +2043,7 @@ class EvictionTestLayer : public Layer { |
texture_ = PrioritizedResource::Create( |
layer_tree_host()->contents_texture_manager()); |
texture_->SetDimensions(gfx::Size(10, 10), RGBA_8888); |
- bitmap_.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); |
- bitmap_.allocPixels(); |
+ bitmap_.allocN32Pixels(10, 10); |
} |
scoped_ptr<PrioritizedResource> texture_; |