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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 9289036: aura: Add Layer::LAYER_SOLID_COLOR to compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes 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
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 72bf2395e4fa0d163360d0b4c897c461adfe8806..24bbdb6ab5514d80a1010284a77d276e58222c7d 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -140,7 +140,7 @@ RenderWidgetHostViewAura::~RenderWidgetHostViewAura() {
void RenderWidgetHostViewAura::InitAsChild(
gfx::NativeView parent_view) {
- window_->Init(ui::Layer::LAYER_HAS_TEXTURE);
+ window_->Init(ui::Layer::LAYER_TEXTURED);
window_->SetName("RenderWidgetHostViewAura");
}
@@ -151,7 +151,7 @@ void RenderWidgetHostViewAura::InitAsPopup(
static_cast<RenderWidgetHostViewAura*>(parent_host_view);
popup_parent_host_view_->popup_child_host_view_ = this;
window_->SetType(aura::client::WINDOW_TYPE_MENU);
- window_->Init(ui::Layer::LAYER_HAS_TEXTURE);
+ window_->Init(ui::Layer::LAYER_TEXTURED);
window_->SetName("RenderWidgetHostViewAura");
window_->SetParent(NULL);
@@ -170,7 +170,7 @@ void RenderWidgetHostViewAura::InitAsFullscreen(
RenderWidgetHostView* reference_host_view) {
is_fullscreen_ = true;
window_->SetType(aura::client::WINDOW_TYPE_NORMAL);
- window_->Init(ui::Layer::LAYER_HAS_TEXTURE);
+ window_->Init(ui::Layer::LAYER_TEXTURED);
window_->SetName("RenderWidgetHostViewAura");
window_->SetIntProperty(aura::client::kShowStateKey,
ui::SHOW_STATE_FULLSCREEN);

Powered by Google App Engine
This is Rietveld 408576698