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

Unified Diff: ui/views/widget/native_widget_aura.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 | « ui/gfx/compositor/layer_unittest.cc ('k') | ui/views/widget/native_widget_aura_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index a0220ad895ceaff8fbcd0929bca1b795d5300e40..a7df9b2e72e2fffd003a3d9a2d29cae2f54e66eb 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -175,8 +175,8 @@ void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) {
window_->SetIntProperty(aura::client::kShowStateKey, params.show_state);
window_->SetTransparent(params.transparent);
window_->Init(params.create_texture_for_layer ?
- ui::Layer::LAYER_HAS_TEXTURE :
- ui::Layer::LAYER_HAS_NO_TEXTURE);
+ ui::Layer::LAYER_TEXTURED :
+ ui::Layer::LAYER_NOT_DRAWN);
if (params.type == Widget::InitParams::TYPE_CONTROL)
window_->Show();
« no previous file with comments | « ui/gfx/compositor/layer_unittest.cc ('k') | ui/views/widget/native_widget_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698