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

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

Issue 248073005: Automatically call OnNativeThemeChanged when a widget is added to a hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 6 years, 8 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/autofill/autofill_dialog_views.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
index 63bab304e006a7b5ed6f0881bab8b5a2337c09dd..2f8106183aaa969a20c40f23dce0f4ce6a9abf86 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -161,8 +161,6 @@ OmniboxViewViews::~OmniboxViewViews() {
void OmniboxViewViews::Init() {
set_controller(this);
SetTextInputType(DetermineTextInputType());
- SetBackgroundColor(location_bar_view_->GetColor(
- ToolbarModel::NONE, LocationBarView::BACKGROUND));
if (popup_window_mode_)
SetReadOnly(true);
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698