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

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

Issue 11360144: Converts some of the omnibox related classes to support multiple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_initialized Created 8 years, 1 month 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/omnibox/omnibox_view_win.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/touch_omnibox_popup_contents_view.cc
diff --git a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
index be8c20e74069bb8591695f93019e396e0798866c..5ce69b0db7e72fab4f2e93eeb4d3e7a5a2fd705c 100644
--- a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
+++ b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc
@@ -88,7 +88,7 @@ void TouchOmniboxPopupContentsView::PaintResultViews(gfx::Canvas* canvas) {
TouchOmniboxResultView* child = static_cast<TouchOmniboxResultView*>(*i);
TouchOmniboxResultView* next_child =
static_cast<TouchOmniboxResultView*>(*(i + 1));
- SkColor divider_color = OmniboxResultView::GetColor(
+ SkColor divider_color = child->GetColor(
std::max(child->GetState(), next_child->GetState()),
OmniboxResultView::DIVIDER);
int line_y = child->y() + child->height() - 1;
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698