| 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 de3be98fe5541c63730f7c00a7ab67cf52cfcee3..e52d3d0a6d49f26fdf91d415c64c7a76492e257a 100644
|
| --- a/ui/views/controls/button/custom_button_unittest.cc
|
| +++ b/ui/views/controls/button/custom_button_unittest.cc
|
| @@ -215,7 +215,8 @@ TEST_F(CustomButtonTest, GestureEventsSetState) {
|
| TEST_F(CustomButtonTest, AsCustomButton) {
|
| base::string16 text;
|
|
|
| - LabelButton label_button(NULL, text);
|
| + LabelButton label_button(nullptr);
|
| + label_button.InitAsTextbutton(text);
|
| EXPECT_TRUE(CustomButton::AsCustomButton(&label_button));
|
|
|
| ImageButton image_button(NULL);
|
|
|