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

Unified Diff: chrome/browser/chromeos/first_run/first_run_view.cc

Issue 274453002: Remove RenderWidget::SetBackground, change IPC to pass a bool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-setbackground: nomac Created 6 years, 7 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 | « apps/ui/views/native_app_window_views.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/first_run/first_run_view.cc
diff --git a/chrome/browser/chromeos/first_run/first_run_view.cc b/chrome/browser/chromeos/first_run/first_run_view.cc
index 6c630a0759e24ae9237d3d4a93e773cf868f946f..d3aecb625f519c295485b208374a861faf2de17e 100644
--- a/chrome/browser/chromeos/first_run/first_run_view.cc
+++ b/chrome/browser/chromeos/first_run/first_run_view.cc
@@ -31,12 +31,7 @@ void FirstRunView::Init(content::BrowserContext* context) {
extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
web_contents);
- SkBitmap background;
- background.setConfig(SkBitmap::kA8_Config, 1, 1);
- background.allocPixels();
- background.eraseARGB(0, 0, 0, 0);
- web_contents->GetRenderViewHost()->GetView()->
- SetBackground(background);
+ web_contents->GetRenderViewHost()->GetView()->SetBackgroundOpaque(false);
}
FirstRunActor* FirstRunView::GetActor() {
« no previous file with comments | « apps/ui/views/native_app_window_views.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698