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

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.cc

Issue 2179643002: Fix infobar painting issues at fractional scales (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 5 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/frame/browser_view_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index 1cfcf5d626590b6ec25de78afcb3b9e5c2b46001..dc81ce199cdb35a285c5dbdfb6f087597325b2b3 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -465,7 +465,6 @@ int BrowserViewLayout::LayoutInfoBar(int top) {
if (!immersive_mode_controller_->ShouldHideTabIndicators())
top += TabStrip::GetImmersiveHeight();
}
- // Raise the |infobar_container_| by its vertical overlap.
infobar_container_->SetVisible(InfobarVisible());
infobar_container_->SetBounds(
vertical_layout_rect_.x(), top, vertical_layout_rect_.width(),

Powered by Google App Engine
This is Rietveld 408576698