Index: chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc |
=================================================================== |
--- chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc (revision 130759) |
+++ chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc (working copy) |
@@ -245,9 +245,10 @@ |
// Mutates the TemplateURLService and make sure table model is updating |
// appropriately. |
TEST_F(KeywordEditorControllerTest, MutateTemplateURLService) { |
- TemplateURL* turl = new TemplateURL(); |
- turl->set_keyword(ASCIIToUTF16("a")); |
- turl->set_short_name(ASCIIToUTF16("b")); |
+ TemplateURLData data; |
+ data.short_name = ASCIIToUTF16("b"); |
+ data.SetKeyword(ASCIIToUTF16("a")); |
+ TemplateURL* turl = new TemplateURL(data); |
model_->Add(turl); |
// Table model should have updated. |