Index: ash/shelf/shelf_button.cc |
diff --git a/ash/shelf/shelf_button.cc b/ash/shelf/shelf_button.cc |
index 06c69d27c05d135cf95ae96d8fdca44896c4adb0..388bf48f8b6fa084b727ed80cdf6f20b2f99c0f0 100644 |
--- a/ash/shelf/shelf_button.cc |
+++ b/ash/shelf/shelf_button.cc |
@@ -20,6 +20,7 @@ |
#include "ui/gfx/animation/animation_delegate.h" |
#include "ui/gfx/animation/throb_animation.h" |
#include "ui/gfx/canvas.h" |
+#include "ui/gfx/geometry/vector2d.h" |
#include "ui/gfx/image/image.h" |
#include "ui/gfx/image/image_skia_operations.h" |
#include "ui/gfx/skbitmap_operations.h" |
@@ -227,9 +228,9 @@ ShelfButton::ShelfButton(views::ButtonListener* listener, |
SetAccessibilityFocusable(true); |
const gfx::ShadowValue kShadows[] = { |
- gfx::ShadowValue(gfx::Point(0, 2), 0, SkColorSetARGB(0x1A, 0, 0, 0)), |
- gfx::ShadowValue(gfx::Point(0, 3), 1, SkColorSetARGB(0x1A, 0, 0, 0)), |
- gfx::ShadowValue(gfx::Point(0, 0), 1, SkColorSetARGB(0x54, 0, 0, 0)), |
+ gfx::ShadowValue(gfx::Vector2d(0, 2), 0, SkColorSetARGB(0x1A, 0, 0, 0)), |
+ gfx::ShadowValue(gfx::Vector2d(0, 3), 1, SkColorSetARGB(0x1A, 0, 0, 0)), |
+ gfx::ShadowValue(gfx::Vector2d(0, 0), 1, SkColorSetARGB(0x54, 0, 0, 0)), |
}; |
icon_shadows_.assign(kShadows, kShadows + arraysize(kShadows)); |