Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2008)

Unified Diff: chrome/browser/ui/webui/options2/search_engine_manager_handler2.cc

Issue 10033017: More misc. cleanups to minimize future refactoring diffs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options2/search_engine_manager_handler2.cc
===================================================================
--- chrome/browser/ui/webui/options2/search_engine_manager_handler2.cc (revision 131375)
+++ chrome/browser/ui/webui/options2/search_engine_manager_handler2.cc (working copy)
@@ -265,6 +265,7 @@
const string16& title,
const string16& keyword,
const std::string& url) {
+ DCHECK(!url.empty());
if (template_url)
list_controller_->ModifyTemplateURL(template_url, title, keyword, url);
else

Powered by Google App Engine
This is Rietveld 408576698