Index: chrome/browser/ui/search_engines/keyword_editor_controller.cc |
=================================================================== |
--- chrome/browser/ui/search_engines/keyword_editor_controller.cc (revision 130565) |
+++ chrome/browser/ui/search_engines/keyword_editor_controller.cc (working copy) |
@@ -63,7 +63,10 @@ |
// Don't do anything if the entry didn't change. |
if ((template_url->short_name() == title) && |
- (template_url->keyword() == keyword) && (template_url->url() == url)) |
+ (template_url->keyword() == keyword) && |
+ ((url.empty() && !template_url->url()) || |
+ (!url.empty() && template_url->url() && |
+ template_url->url()->url() == url))) |
return; |
table_model_->ModifyTemplateURL(index, title, keyword, url); |