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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.cc

Issue 2348853004: Remove non-md code in location bar (Views). (Closed)
Patch Set: resolve change collision Created 4 years, 3 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/views/location_bar/star_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
index dbc954368898e8570c5eae13b837e2f6d1768cf3..829f1c84b1403be1395a0c0cdd020afb557ad0d7 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -202,7 +202,7 @@ OmniboxResultView::OmniboxResultView(OmniboxPopupContentsView* model,
animation_(new gfx::SlideAnimation(this)) {
CHECK_GE(model_index, 0);
if (default_icon_size_ == 0)
- default_icon_size_ = location_bar_view_->GetLocationIconWidth();
+ default_icon_size_ = LocationBarView::kLocationBarIconWidth;
keyword_icon_->set_owned_by_client();
keyword_icon_->EnableCanvasFlippingForRTLUI(true);
keyword_icon_->SetImage(GetKeywordIcon());
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698