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

Unified Diff: chrome/browser/protector/default_search_provider_change.cc

Issue 9965143: Revert 130431 - Move the URL string from TemplateURLRef onto the owning TemplateURL. This will mak… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/protector/default_search_provider_change.cc
===================================================================
--- chrome/browser/protector/default_search_provider_change.cc (revision 130565)
+++ chrome/browser/protector/default_search_provider_change.cc (working copy)
@@ -54,11 +54,13 @@
return false;
return url->short_name() == other_->short_name() &&
AreKeywordsSame(url, other_) &&
- url->url() == other_->url() &&
- url->suggestions_url() == other_->suggestions_url() &&
- url->instant_url() == other_->instant_url() &&
+ TemplateURLRef::SameUrlRefs(url->url(), other_->url()) &&
+ TemplateURLRef::SameUrlRefs(url->suggestions_url(),
+ other_->suggestions_url()) &&
+ TemplateURLRef::SameUrlRefs(url->instant_url(),
+ other_->instant_url()) &&
+ url->favicon_url() == other_->favicon_url() &&
url->safe_for_autoreplace() == other_->safe_for_autoreplace() &&
- url->favicon_url() == other_->favicon_url() &&
url->show_in_default_list() == other_->show_in_default_list() &&
url->input_encodings() == other_->input_encodings() &&
url->prepopulate_id() == other_->prepopulate_id();

Powered by Google App Engine
This is Rietveld 408576698