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

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

Issue 8369006: [Aura] Support transparent webkit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 299368f82f28d7f558803c8a7085a65d9aa33739..0779976481538d92bb1284088cece458cbd600df 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -237,6 +237,7 @@ void RenderWidgetHostViewAura::AcceleratedSurfaceRelease(uint64 surface_id) {
void RenderWidgetHostViewAura::SetBackground(const SkBitmap& background) {
RenderWidgetHostView::SetBackground(background);
host_->SetBackground(background);
+ window_->layer()->SetFillsBoundsOpaquely(background.isOpaque());
}
#if defined(OS_POSIX)

Powered by Google App Engine
This is Rietveld 408576698