diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 08:15:22 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 08:15:22 +0000 |
commit | 410ad2e3ca9129e82a1461a6d8ee38dcbc75262f (patch) | |
tree | 416815cc13af13939913248a2c2542d8ff889644 /content | |
parent | 6ff160127d0ef297d758d8ea5fae8d741f5abc6a (diff) | |
download | chromium_src-410ad2e3ca9129e82a1461a6d8ee38dcbc75262f.zip chromium_src-410ad2e3ca9129e82a1461a6d8ee38dcbc75262f.tar.gz chromium_src-410ad2e3ca9129e82a1461a6d8ee38dcbc75262f.tar.bz2 |
[cros/aura] Prevent white splash on boot for OOBE WebUI.
OOBE boot:
- Load wallpaper into wallpaper layer and wait till animation finishes
- Load OOBE WebUI
* Create host window at screen lock layer
* Show (produced short white splash if white bg is drawn in OnPaint()
* Load WebUI with transparent background
BUG=131569
TEST=Manual.
Review URL: https://chromiumcodereview.appspot.com/10796009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_aura.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 5fd9a2a..797481c 100644 --- a/content/browser/renderer_host/render_widget_host_view_aura.cc +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc @@ -1210,7 +1210,7 @@ void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) { if (backing_store) { static_cast<BackingStoreAura*>(backing_store)->SkiaShowRect(gfx::Point(), canvas); - } else { + } else if (aura::Env::GetInstance()->render_white_bg()) { canvas->FillRect(gfx::Rect(window_->bounds().size()), SK_ColorWHITE); } } |