diff options
Diffstat (limited to 'chrome/browser/views/location_bar/page_action_with_badge_view.cc')
-rw-r--r-- | chrome/browser/views/location_bar/page_action_with_badge_view.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/views/location_bar/page_action_with_badge_view.cc b/chrome/browser/views/location_bar/page_action_with_badge_view.cc index 603b4f9..fd2204e 100644 --- a/chrome/browser/views/location_bar/page_action_with_badge_view.cc +++ b/chrome/browser/views/location_bar/page_action_with_badge_view.cc @@ -13,10 +13,8 @@ PageActionWithBadgeView::PageActionWithBadgeView( AddChildView(image_view_); } -bool PageActionWithBadgeView::GetAccessibleRole( - AccessibilityTypes::Role* role) { - *role = AccessibilityTypes::ROLE_GROUPING; - return true; +AccessibilityTypes::Role PageActionWithBadgeView::GetAccessibleRole() { + return AccessibilityTypes::ROLE_GROUPING; } gfx::Size PageActionWithBadgeView::GetPreferredSize() { |