Index: ui/views/examples/button_example.cc |
diff --git a/ui/views/examples/button_example.cc b/ui/views/examples/button_example.cc |
index 7e4b5790d133bc99b2ad9fc0004d39220dd2c03f..54f5363b9aa20c151dd590591e477b007e330b15 100644 |
--- a/ui/views/examples/button_example.cc |
+++ b/ui/views/examples/button_example.cc |
@@ -154,8 +154,9 @@ void ButtonExample::LabelButtonPressed(const ui::Event& event) { |
label_button_->GetImage(CustomButton::BS_NORMAL).isNull() ? |
*icon_ : gfx::ImageSkia()); |
} else { |
- label_button_->SetHorizontalAlignment(static_cast<Label::Alignment>( |
- (label_button_->GetHorizontalAlignment() + 1) % 3)); |
+ label_button_->SetHorizontalAlignment( |
+ static_cast<gfx::HorizontalAlignment>( |
+ (label_button_->GetHorizontalAlignment() + 1) % 3)); |
} |
} else if (event.IsShiftDown()) { |
if (event.IsAltDown()) { |