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

Unified Diff: ash/wm/image_grid.cc

Issue 9289036: aura: Add Layer::LAYER_SOLID_COLOR to compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update WorkspaceManagerTest Created 8 years, 11 months 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 | « ash/wm/compact_layout_manager_unittest.cc ('k') | ash/wm/power_button_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()));
« no previous file with comments | « ash/wm/compact_layout_manager_unittest.cc ('k') | ash/wm/power_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698