| Index: chrome/browser/gtk/keyword_editor_view.cc
|
| diff --git a/chrome/browser/gtk/keyword_editor_view.cc b/chrome/browser/gtk/keyword_editor_view.cc
|
| index 1409dc15e2c5eafee058ad4c4784cfd975a80577..5021fc1ac706db2fe86432bc59a6316f8304c007 100644
|
| --- a/chrome/browser/gtk/keyword_editor_view.cc
|
| +++ b/chrome/browser/gtk/keyword_editor_view.cc
|
| @@ -447,10 +447,9 @@ void KeywordEditorView::OnAddButtonClicked(GtkButton* button,
|
| void KeywordEditorView::OnEditButtonClicked(GtkButton* button,
|
| KeywordEditorView* editor) {
|
| int model_row = editor->GetSelectedModelRow();
|
| - if (model_row == -1) {
|
| - NOTREACHED();
|
| + if (model_row == -1)
|
| return;
|
| - }
|
| +
|
| new EditSearchEngineDialog(
|
| GTK_WINDOW(gtk_widget_get_toplevel(editor->dialog_)),
|
| editor->controller_->GetTemplateURL(model_row),
|
|
|