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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_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
Index: chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
index 4cb09cab2604249767ec9f1542483f81179919aa..4cb09b8a52739c3077d25a2d243c51836cc19c3b 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
@@ -78,8 +78,7 @@ void LocationBarBubbleDelegateView::ShowForReason(DisplayReason reason) {
if (reason == USER_GESTURE) {
// In the USER_GESTURE case, the icon will be in an active state so the
// bubble doesn't need an arrow.
- if (ui::MaterialDesignController::IsModeMaterial())
- SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
+ SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
GetWidget()->Show();
} else {
GetWidget()->ShowInactive();
« no previous file with comments | « chrome/browser/ui/views/location_bar/keyword_hint_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698