Index: chrome/browser/search_engines/template_url.cc |
diff --git a/chrome/browser/search_engines/template_url.cc b/chrome/browser/search_engines/template_url.cc |
index 43ca5902aded0ad2620646e63fe0402f6e9f8795..b9d9943314ef09bcf632dc86c20d277aa0f41bd2 100644 |
--- a/chrome/browser/search_engines/template_url.cc |
+++ b/chrome/browser/search_engines/template_url.cc |
@@ -96,7 +96,9 @@ std::string TemplateURLRef::GetURL() const { |
case SEARCH: return owner_->url(); |
case SUGGEST: return owner_->suggestions_url(); |
case INSTANT: return owner_->instant_url(); |
- default: NOTREACHED(); return std::string(); |
+ default: |
+ NOTREACHED(); |
jcivelli
2012/05/15 00:16:59
Should be 2 space indent.
Isaac (away)
2012/05/15 00:21:47
Done.
|
+ return std::string(); |
} |
} |
@@ -213,7 +215,7 @@ std::string TemplateURLRef::ReplaceSearchTermsUsingTermsData( |
// to happen so that we replace the RLZ template with the |
// empty string. (If we don't handle this case, we hit a |
// NOTREACHED below.) |
-#if defined(ENABLE_RLZ) |
+#if defined(ENABLE_RLZ) || defined(OS_ANDROID) |
string16 rlz_string = search_terms_data.GetRlzParameterValue(); |
if (!rlz_string.empty()) { |
url.insert(i->index, "rlz=" + UTF16ToUTF8(rlz_string) + "&"); |