Index: ui/views/controls/button/custom_button_unittest.cc |
diff --git a/ui/views/controls/button/custom_button_unittest.cc b/ui/views/controls/button/custom_button_unittest.cc |
index 49bc8322afe302465fe48e16ea6b4c9d8bbd7e1e..ace0df7bc3ba4c0cb982cc5be7a4e6ad7170aeee 100644 |
--- a/ui/views/controls/button/custom_button_unittest.cc |
+++ b/ui/views/controls/button/custom_button_unittest.cc |
@@ -178,7 +178,7 @@ TEST_F(CustomButtonTest, AsCustomButton) { |
Link link(text); |
EXPECT_FALSE(CustomButton::AsCustomButton(&link)); |
- Textfield textfield(Textfield::STYLE_DEFAULT); |
+ Textfield textfield; |
EXPECT_FALSE(CustomButton::AsCustomButton(&textfield)); |
} |