| Index: chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| index ed69780848c15d7671ebb3c2590383c8ff174c42..45e55d696bfeabeef4b85f4f16edb79cd4d932fb 100644
|
| --- a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| +++ b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| @@ -44,8 +44,8 @@ void BrowserActionTestUtil::InspectPopup(int index) {
|
| }
|
|
|
| bool BrowserActionTestUtil::HasIcon(int index) {
|
| - return GetContainer(browser_)->GetBrowserActionViewAt(index)->button()->
|
| - HasIcon();
|
| + return !GetContainer(browser_)->GetBrowserActionViewAt(index)->button()->
|
| + GetImage(views::Button::STATE_NORMAL).isNull();
|
| }
|
|
|
| gfx::Image BrowserActionTestUtil::GetIcon(int index) {
|
|
|