summaryrefslogtreecommitdiffstats
path: root/views/background.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 23:01:01 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-15 23:01:01 +0000
commit7e03e8103075b74dde74abc68fc53b9d587260f9 (patch)
tree1a417553ad8e6b944a01e88379c1b3e739dc44c8 /views/background.cc
parentbdca9beb83417cf7b03f7f42016c2c1718b4148c (diff)
downloadchromium_src-7e03e8103075b74dde74abc68fc53b9d587260f9.zip
chromium_src-7e03e8103075b74dde74abc68fc53b9d587260f9.tar.gz
chromium_src-7e03e8103075b74dde74abc68fc53b9d587260f9.tar.bz2
Handful of related instant changes:
. Makes the code for running the promo more real. We're not ready to flip it on yet, so it isn't enabled. . Nukes verbatim from about:flags and instead randomly chooses verbatim/predictive when the user opts in. We're doing this to try and see if we get feedback as to which one folks like more. Windows preferences shows you which one you get (by way of an obscure label). I'll change gtk do to that shortly too. . Adds metrics. And a couple of random style issues I encountered in some files. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/5023001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/background.cc')
-rw-r--r--views/background.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/background.cc b/views/background.cc
index f135138..ba6216f 100644
--- a/views/background.cc
+++ b/views/background.cc
@@ -93,12 +93,12 @@ Background* Background::CreateStandardPanelBackground() {
//static
Background* Background::CreateVerticalGradientBackground(
const SkColor& color1, const SkColor& color2) {
- Background* background = CreateBackgroundPainter(
- true, Painter::CreateVerticalGradient(color1, color2));
- background->SetNativeControlColor(
- color_utils::AlphaBlend(color1, color2, 128));
+ Background* background = CreateBackgroundPainter(
+ true, Painter::CreateVerticalGradient(color1, color2));
+ background->SetNativeControlColor(
+ color_utils::AlphaBlend(color1, color2, 128));
- return background;
+ return background;
}
//static