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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.h

Issue 19197005: Omnibox: Change |inline_autocomplete_offset| to |inline_autocompletion| (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix issue with using a reference in a place we shouldn't Created 7 years, 5 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/omnibox/omnibox_edit_model.h
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h
index 4dff4ef94972c3e1b15071a3b09074c5c0095a08..af71dd45aeb703a903c0fe22bffbf989afff3896 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
@@ -270,7 +270,7 @@ class OmniboxEditModel {
// or the currently selected keyword if |is_keyword_hint| is false (see
// comments on keyword_ and is_keyword_hint_).
void OnPopupDataChanged(
- const string16& text,
+ const string16 text,
Peter Kasting 2013/07/16 18:09:05 Removing the '&' here seems like a mistake
Mark P 2013/07/16 18:53:23 This is critical. If the & is there, it doesn't w
Peter Kasting 2013/07/16 18:59:55 Hmm. In that case perhaps the affected caller(s)
Mark P 2013/07/16 19:47:12 Are you sure you want me to do this? It requires
GURL* destination_for_temporary_text_change,
const string16& keyword,
bool is_keyword_hint);

Powered by Google App Engine
This is Rietveld 408576698