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

Unified Diff: chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm

Issue 9968016: Move the URL string from TemplateURLRef onto the owning TemplateURL. This will make it easier to m… (Closed) Base URL: svn://chrome-svn/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
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/gtk/edit_search_engine_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm (revision 130285)
+++ chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm (working copy)
@@ -90,7 +90,7 @@
[keywordField_ setStringValue:
base::SysUTF16ToNSString(templateURL_->keyword())];
[urlField_ setStringValue:
- base::SysUTF16ToNSString(templateURL_->url()->DisplayURL())];
+ base::SysUTF16ToNSString(templateURL_->url_ref().DisplayURL())];
[urlField_ setEnabled:(templateURL_->prepopulate_id() == 0)];
}
// When creating a new keyword, this will mark the fields as "invalid" and
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/gtk/edit_search_engine_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698