Index: ui/app_list/views/speech_view.cc |
diff --git a/ui/app_list/views/speech_view.cc b/ui/app_list/views/speech_view.cc |
index 8337ffc29b472e2e1a56d24dfa9284a07f4f41aa..f125319f16a0e1ac9ef2714fbc7afc8abd51a4d8 100644 |
--- a/ui/app_list/views/speech_view.cc |
+++ b/ui/app_list/views/speech_view.cc |
@@ -14,6 +14,7 @@ |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/path.h" |
+#include "ui/gfx/shadow_value.h" |
#include "ui/resources/grit/ui_resources.h" |
#include "ui/strings/grit/ui_strings.h" |
#include "ui/views/animation/bounds_animator.h" |
@@ -108,10 +109,8 @@ bool MicButton::GetHitTestMask(gfx::Path* mask) const { |
SpeechView::SpeechView(AppListViewDelegate* delegate) |
: delegate_(delegate), |
logo_(NULL) { |
- SetBorder(scoped_ptr<views::Border>( |
- new views::ShadowBorder(kCardShadowBlur, kCardShadowColor, |
- kCardShadowYOffset, // Vertical offset. |
- 0))); |
+ SetBorder(scoped_ptr<views::Border>(new views::ShadowBorder(gfx::ShadowValue( |
+ gfx::Point(0, kCardShadowYOffset), kCardShadowBlur, kCardShadowColor)))); |
// To keep the painting order of the border and the background, this class |
// actually has a single child of 'container' which has white background and |