Index: ui/views/examples/label_example.cc |
diff --git a/ui/views/examples/label_example.cc b/ui/views/examples/label_example.cc |
index 0d3e67559621477c2b4c8e3b1ac6029b00fb4597..4f06b36c6bfc735a48ea376efbebced5842176f8 100644 |
--- a/ui/views/examples/label_example.cc |
+++ b/ui/views/examples/label_example.cc |
@@ -5,6 +5,7 @@ |
#include "ui/views/examples/label_example.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "ui/gfx/geometry/vector2d.h" |
#include "ui/views/background.h" |
#include "ui/views/border.h" |
#include "ui/views/controls/button/checkbox.h" |
@@ -89,7 +90,8 @@ void LabelExample::CreateExampleView(View* container) { |
label = new Label(ASCIIToUTF16("A Courier-18 label with shadows.")); |
label->SetFontList(gfx::FontList("Courier, 18px")); |
- gfx::ShadowValues shadows(1, gfx::ShadowValue(gfx::Point(), 1, SK_ColorRED)); |
+ gfx::ShadowValues shadows(1, |
+ gfx::ShadowValue(gfx::Vector2d(), 1, SK_ColorRED)); |
gfx::ShadowValue shadow(gfx::Point(2, 2), 0, SK_ColorGRAY); |
shadows.push_back(shadow); |
label->SetShadows(shadows); |