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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_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/location_bar/page_action_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.cc b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
index 793866d884a4797e906d9c149cb6256fd03b9c82..6302fb4c9e5e6d1bbb6f7d44eb7b06cd559debee 100644
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
@@ -227,8 +227,9 @@ void PageActionImageView::OnIconUpdated() {
UpdateVisibility(web_contents, current_url_);
}
-void PageActionImageView::PaintChildren(gfx::Canvas* canvas) {
- View::PaintChildren(canvas);
+void PageActionImageView::PaintChildren(gfx::Canvas* canvas,
+ const views::CullSet& cull_set) {
+ View::PaintChildren(canvas, cull_set);
if (current_tab_id_ >= 0)
page_action_->PaintBadge(canvas, GetLocalBounds(), current_tab_id_);
}

Powered by Google App Engine
This is Rietveld 408576698