Index: ash/wm/image_grid.cc |
diff --git a/ash/wm/image_grid.cc b/ash/wm/image_grid.cc |
index 89d3054c48701a7da8803346c7455cb4c5efa7f4..de4ec4a84ff4d2b6ddc261b69cf133653e1a66ec 100644 |
--- a/ash/wm/image_grid.cc |
+++ b/ash/wm/image_grid.cc |
@@ -48,7 +48,7 @@ void ImageGrid::Init(const gfx::Image* top_left_image, |
const gfx::Image* bottom_left_image, |
const gfx::Image* bottom_image, |
const gfx::Image* bottom_right_image) { |
- layer_.reset(new ui::Layer(ui::Layer::LAYER_HAS_NO_TEXTURE)); |
+ layer_.reset(new ui::Layer(ui::Layer::LAYER_NOT_DRAWN)); |
InitImage(top_left_image, &top_left_layer_, &top_left_painter_); |
InitImage(top_image, &top_layer_, &top_painter_); |
@@ -230,7 +230,7 @@ void ImageGrid::InitImage(const gfx::Image* image, |
if (!image) |
return; |
- layer_ptr->reset(new ui::Layer(ui::Layer::LAYER_HAS_TEXTURE)); |
+ layer_ptr->reset(new ui::Layer(ui::Layer::LAYER_TEXTURED)); |
const gfx::Size size = GetImageSize(image); |
layer_ptr->get()->SetBounds(gfx::Rect(0, 0, size.width(), size.height())); |