summaryrefslogtreecommitdiffstats
path: root/ui/views/background.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/background.cc')
-rw-r--r--ui/views/background.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/views/background.cc b/ui/views/background.cc
index c606842..d48c423 100644
--- a/ui/views/background.cc
+++ b/ui/views/background.cc
@@ -94,8 +94,13 @@ Background* Background::CreateSolidBackground(const SkColor& color) {
//static
Background* Background::CreateStandardPanelBackground() {
+ // TODO(beng): Should be in NativeTheme.
+#if defined(USE_AURA)
+ return CreateSolidBackground(SK_ColorWHITE);
+#else
return CreateVerticalGradientBackground(SkColorSetRGB(246, 250, 255),
SkColorSetRGB(219, 235, 255));
+#endif
}
//static