Index: ui/views/background.cc |
diff --git a/ui/views/background.cc b/ui/views/background.cc |
index f8bf1b69578fb8c35f686b21bbc02a6f096825de..190a5a62c346e714f9b7c4dad8a8d79321132a0d 100644 |
--- a/ui/views/background.cc |
+++ b/ui/views/background.cc |
@@ -79,17 +79,6 @@ Background* Background::CreateStandardPanelBackground() { |
} |
// static |
-Background* Background::CreateVerticalGradientBackground(SkColor color1, |
- SkColor color2) { |
- Background* background = |
- CreateBackgroundPainter(Painter::CreateVerticalGradient(color1, color2)); |
- background->SetNativeControlColor( |
- color_utils::AlphaBlend(color1, color2, 128)); |
- |
- return background; |
-} |
- |
-// static |
Background* Background::CreateBackgroundPainter( |
std::unique_ptr<Painter> painter) { |
return new BackgroundPainter(std::move(painter)); |