Index: ui/views/view_unittest.cc |
=================================================================== |
--- ui/views/view_unittest.cc (revision 150365) |
+++ ui/views/view_unittest.cc (working copy) |
@@ -1762,7 +1762,7 @@ |
virtual void SetUp() OVERRIDE { |
ViewTest::SetUp(); |
- test_dialog_ = new TestDialog(&mock_menu_model_); |
+ test_dialog_ = new TestDialog(new MockMenuModel()); |
Widget* window = |
Widget::CreateWindowWithBounds(test_dialog_, gfx::Rect(0, 0, 100, 100)); |
test_dialog_->widget_ = window; |
@@ -1779,7 +1779,6 @@ |
} |
TestDialog* test_dialog_; |
- MockMenuModel mock_menu_model_; |
// This is owned by test_dialog_. |
View* button_as_view_; |