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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.cc

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index 5f65f664928b447ea378c4c36da68dc714577e02..bd70505b71c9b8fee9580a172535a2a42e7a27a5 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -278,7 +278,8 @@ void InfoBarView::ViewHierarchyChanged(
SetBarTargetHeight(height);
}
-void InfoBarView::PaintChildren(gfx::Canvas* canvas) {
+void InfoBarView::PaintChildren(gfx::Canvas* canvas,
+ const views::CullSet& cull_set) {
canvas->Save();
// TODO(scr): This really should be the |fill_path_|, but the clipPath seems
@@ -289,7 +290,7 @@ void InfoBarView::PaintChildren(gfx::Canvas* canvas) {
DCHECK_EQ(total_height(), height())
<< "Infobar piecewise heights do not match overall height";
canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height()));
- views::View::PaintChildren(canvas);
+ views::View::PaintChildren(canvas, cull_set);
canvas->Restore();
}
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.h ('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